Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 115.3 kB / 16.42 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 186.1 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 469.4 MB / 0.7428 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 60.12 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8436/0.8449, allocations: 159.1 MB / 1.221 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006639/0.8516, allocations: 4.652 MB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004124/0.8558, allocations: 2.353 MB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003384/0.8561, allocations: 7.938 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.8578, allocations: 0.5364 MB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008306/0.8586, allocations: 306.6 kB / 1.229 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009438/0.8596, allocations: 347.1 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007966/0.8604, allocations: 0.5607 MB / 1.229 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005842/0.861, allocations: 371.6 kB / 1.23 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.8614, allocations: 231.2 kB / 1.23 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.8619, allocations: 283.1 kB / 1.23 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.417e-05/0.862, allocations: 32 kB / 1.23 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000547/0.8625, allocations: 287.5 kB / 1.231 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.8627, allocations: 179.6 kB / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.863, allocations: 214.9 kB / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008268/0.8638, allocations: 0.6522 MB / 1.232 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8639, allocations: 0 / 1.232 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8639, allocations: 3.938 kB / 1.232 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.8639, allocations: 0 / 1.232 GB, free: 7.336 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00158/0.8655, allocations: 0.7291 MB / 1.232 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.8655, allocations: 8.625 kB / 1.232 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.8669, allocations: 160.2 kB / 1.232 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.8674, allocations: 336.4 kB / 1.233 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.8674, allocations: 29.38 kB / 1.233 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.25e-05/0.8675, allocations: 36.36 kB / 1.233 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009951/0.8685, allocations: 0.638 MB / 1.233 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.8685, allocations: 0 / 1.233 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.8686, allocations: 20 kB / 1.233 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.69e-05/0.8687, allocations: 48.56 kB / 1.234 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008377/0.8695, allocations: 486.1 kB / 1.234 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.8733, allocations: 3.428 MB / 1.237 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/0.874, allocations: 376.9 kB / 1.238 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.8742, allocations: 173.6 kB / 1.238 GB, free: 464 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.8743, allocations: 4 kB / 1.238 GB, free: 460 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.8743, allocations: 34.56 kB / 1.238 GB, free: 416 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=25): time 1.963e-06/0.8743, allocations: 4 kB / 1.238 GB, free: 412 kB / 0.9512 GB Notification: Performance of matching and sorting (n=26): time 0.004732/0.879, allocations: 1.457 MB / 1.239 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.8791, allocations: 88.98 kB / 1.239 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.8795, allocations: 336.4 kB / 1.24 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.8796, allocations: 29.7 kB / 1.24 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.8797, allocations: 255.4 kB / 1.24 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.928e-05/0.8798, allocations: 94.64 kB / 1.24 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.88, allocations: 98.14 kB / 1.24 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.8801, allocations: 342.8 kB / 1.241 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.8804, allocations: 191 kB / 1.241 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.8809, allocations: 346 kB / 1.241 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/0.8816, allocations: 0.5436 MB / 1.242 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8816, allocations: 0 / 1.242 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002477/0.8841, allocations: 0.9237 MB / 1.242 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.8841, allocations: 8 kB / 1.242 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.8841, allocations: 4 kB / 1.242 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002351/0.8865, allocations: 0.4974 MB / 1.243 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.887, allocations: 103.8 kB / 1.243 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005774/0.8927, allocations: 4.063 MB / 1.247 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.8933, allocations: 47.88 kB / 1.247 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.8933, allocations: 19.98 kB / 1.247 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004449/0.8938, allocations: 309.1 kB / 1.247 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003869/0.8942, allocations: 335.8 kB / 1.248 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006857/0.8949, allocations: 0.5058 MB / 1.248 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.368e-06/0.8949, allocations: 7.938 kB / 1.248 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009206/0.8958, allocations: 0.532 MB / 1.249 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.8958, allocations: 8 kB / 1.249 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8958, allocations: 8 kB / 1.249 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.8958, allocations: 8.656 kB / 1.249 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/0.8963, allocations: 115.7 kB / 1.249 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.8963, allocations: 15.94 kB / 1.249 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.8967, allocations: 43.81 kB / 1.249 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.8968, allocations: 27.97 kB / 1.249 GB, free: 4.375 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.8969, allocations: 204.1 kB / 1.249 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.949e-05/0.897, allocations: 35.62 kB / 1.249 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.8988, allocations: 0.6734 MB / 1.25 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.8988, allocations: 3.938 kB / 1.25 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.8988, allocations: 0 / 1.25 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.899, allocations: 148.6 kB / 1.25 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.71e-05/0.8991, allocations: 4 kB / 1.25 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.8995, allocations: 39.94 kB / 1.25 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.905e-05/0.8996, allocations: 23.95 kB / 1.25 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001289/0.9009, allocations: 0.6727 MB / 1.251 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008231/0.9017, allocations: 0.7358 MB / 1.251 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002104/0.9019, allocations: 147.8 kB / 1.252 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002972/0.9022, allocations: 235 kB / 1.252 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of Backend: time 7.72e-07/0.9022, allocations: 0 / 1.252 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002432/0.9047, allocations: 1.06 MB / 1.253 GB, free: 316 kB / 0.9669 GB Notification: Performance of SimCode: time 0.00149/0.9062, allocations: 1.208 MB / 1.254 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of Templates: time 0.01574/0.9219, allocations: 9.75 MB / 1.264 GB, free: 5.344 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches