Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00227/0.00227, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.202/3.202, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.249e-05, allocations: 4.703 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0164/0.01643, allocations: 10.52 MB / 0.8879 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.02767, allocations: 5.568 MB / 0.8933 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.02874, allocations: 71.38 kB / 0.8934 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.005171/0.03391, allocations: 1.731 MB / 0.8951 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.0374, allocations: 1.212 MB / 0.8962 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.03981, allocations: 0.8139 MB / 0.897 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003674/0.04348, allocations: 2.189 MB / 0.8992 GB, free: 348 kB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/0.04554, allocations: 1.037 MB / 0.9002 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.04818, allocations: 1.204 MB / 0.9014 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.04998, allocations: 0.814 MB / 0.9022 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003539/0.05034, allocations: 112 kB / 0.9023 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.05287, allocations: 1.083 MB / 0.9033 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008548/0.05373, allocations: 0.5724 MB / 0.9039 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.05484, allocations: 0.5338 MB / 0.9044 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.004755/0.05959, allocations: 2.484 MB / 0.9068 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.0596, allocations: 0 / 0.9068 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.313e-06/0.0596, allocations: 0 / 0.9068 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.579e-05/0.05968, allocations: 0 / 0.9068 GB, free: 8.461 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004197/0.06388, allocations: 1.824 MB / 0.9086 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.06393, allocations: 12.03 kB / 0.9086 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005398/0.06933, allocations: 0.9978 MB / 0.9096 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.07156, allocations: 0.9792 MB / 0.9106 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.0717, allocations: 102.9 kB / 0.9107 GB, free: 4.469 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003999/0.0721, allocations: 128.3 kB / 0.9108 GB, free: 4.344 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005019/0.07712, allocations: 2.408 MB / 0.9131 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.869e-05/0.07719, allocations: 16.12 kB / 0.9131 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.07742, allocations: 56.34 kB / 0.9132 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002662/0.07768, allocations: 166.2 kB / 0.9134 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003702/0.08138, allocations: 1.859 MB / 0.9152 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/0.09492, allocations: 9.207 MB / 0.9242 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005112/0.1, allocations: 1.87 MB / 0.926 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.101, allocations: 0.5581 MB / 0.9265 GB, free: 3.633 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.1012, allocations: 24.98 kB / 0.9266 GB, free: 3.609 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.1012, allocations: 43.56 kB / 0.9266 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=103): time 3.466e-06/0.1013, allocations: 0 / 0.9266 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.007037/0.1083, allocations: 3.145 MB / 0.9297 GB, free: 408 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.1083, allocations: 64.41 kB / 0.9297 GB, free: 332 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.1097, allocations: 0.8808 MB / 0.9306 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.1098, allocations: 41.7 kB / 0.9306 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006776/0.1105, allocations: 0.757 MB / 0.9314 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004216/0.1109, allocations: 404.6 kB / 0.9318 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004787/0.1114, allocations: 287.4 kB / 0.932 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.1115, allocations: 305.1 kB / 0.9323 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.1128, allocations: 0.6129 MB / 0.9329 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.1144, allocations: 1.109 MB / 0.934 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002819/0.1172, allocations: 1.824 MB / 0.9358 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.1172, allocations: 8 kB / 0.9358 GB, free: 9.629 MB / 0.9011 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004209/0.1215, allocations: 2.163 MB / 0.9379 GB, free: 7.434 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.1215, allocations: 16.25 kB / 0.9379 GB, free: 7.418 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.1215, allocations: 16 kB / 0.9379 GB, free: 7.402 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.1226, allocations: 274.6 kB / 0.9382 GB, free: 7.109 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.124, allocations: 375.4 kB / 0.9386 GB, free: 6.742 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.1357, allocations: 10.59 MB / 0.9489 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.137, allocations: 127.8 kB / 0.949 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/0.1372, allocations: 64 kB / 0.9491 GB, free: 11.15 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008319/0.1381, allocations: 409.3 kB / 0.9495 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003788/0.1384, allocations: 167.2 kB / 0.9496 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/0.1418, allocations: 1.675 MB / 0.9513 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.1418, allocations: 12 kB / 0.9513 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1419, allocations: 0 / 0.9513 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.1419, allocations: 7.969 kB / 0.9513 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005891/0.1478, allocations: 2.931 MB / 0.9541 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.1478, allocations: 4 kB / 0.9541 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009392/0.1487, allocations: 231.7 kB / 0.9544 GB, free: 5.559 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009347/0.1496, allocations: 254.7 kB / 0.9546 GB, free: 5.285 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-05/0.1497, allocations: 24 kB / 0.9546 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/0.1609, allocations: 10.57 MB / 0.965 GB, free: 9.867 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.1609, allocations: 4 kB / 0.965 GB, free: 9.863 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003424/0.1643, allocations: 1.823 MB / 0.9667 GB, free: 7.934 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009356/0.1653, allocations: 231.2 kB / 0.967 GB, free: 7.707 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/0.1655, allocations: 32 kB / 0.967 GB, free: 7.676 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000894/0.1664, allocations: 91.81 kB / 0.9671 GB, free: 7.586 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.1667, allocations: 104.7 kB / 0.9672 GB, free: 7.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.48e-05/0.1667, allocations: 35.98 kB / 0.9672 GB, free: 7.445 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009917/0.1677, allocations: 0.5647 MB / 0.9678 GB, free: 6.871 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1677, allocations: 0 / 0.9678 GB, free: 6.871 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001614/0.1693, allocations: 400 kB / 0.9681 GB, free: 6.48 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 simulation (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002933/0.1696, allocations: 142 kB / 0.9683 GB, free: 6.336 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004213/0.1739, allocations: 2.406 MB / 0.9706 GB, free: 3.832 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.1739, allocations: 0.875 kB / 0.9706 GB, free: 3.832 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002515/0.1764, allocations: 1.585 MB / 0.9722 GB, free: 2.141 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.1782, allocations: 359.6 kB / 0.9725 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005612/0.1838, allocations: 2.821 MB / 0.9753 GB, free: 14.86 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.1848, allocations: 0.7371 MB / 0.976 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001032/0.1859, allocations: 355 kB / 0.9763 GB, free: 13.74 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.1862, allocations: 92.48 kB / 0.9764 GB, free: 13.65 MB / 0.948 GB Notification: Performance of SimCode: time 1.563e-06/0.1862, allocations: 0 / 0.9764 GB, free: 13.65 MB / 0.948 GB Notification: Performance of Templates: time 0.03351/0.2197, allocations: 17.31 MB / 0.9933 GB, free: 12.68 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.912398856016807]