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.001817/0.001817, allocations: 85.48 kB / 19.44 MB, free: 344 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.001908/0.001908, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.553/1.553, allocations: 177.1 MB / 203.1 MB, free: 5.141 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.378/3.378, allocations: 429.5 MB / 0.6729 GB, free: 4.031 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 1.743e-06/1.743e-06, allocations: 0 / 0.8775 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.861e-05, allocations: 5.906 kB / 0.8775 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.02722/0.02725, allocations: 11.1 MB / 0.8883 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.04575, allocations: 5.849 MB / 0.894 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.04757, allocations: 75.31 kB / 0.8941 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.008094/0.05566, allocations: 1.774 MB / 0.8958 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005615/0.06128, allocations: 1.216 MB / 0.897 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.0652, allocations: 0.8218 MB / 0.8978 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004919/0.07012, allocations: 2.189 MB / 0.8999 GB, free: 15.62 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002926/0.07305, allocations: 1.025 MB / 0.9009 GB, free: 14.58 MB / 0.8699 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003945/0.07699, allocations: 1.216 MB / 0.9021 GB, free: 13.36 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.07943, allocations: 0.8335 MB / 0.9029 GB, free: 12.52 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 0.0004283/0.07986, allocations: 116 kB / 0.9031 GB, free: 12.41 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003629/0.08348, allocations: 1.075 MB / 0.9041 GB, free: 11.33 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.0846, allocations: 0.5764 MB / 0.9047 GB, free: 10.75 MB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 0.001466/0.08607, allocations: 0.5338 MB / 0.9052 GB, free: 10.22 MB / 0.8699 GB Notification: Performance of NFConvertDAE.convert: time 0.005178/0.09124, allocations: 2.499 MB / 0.9076 GB, free: 7.711 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.09125, allocations: 4 kB / 0.9076 GB, free: 7.707 MB / 0.8699 GB Notification: Performance of FrontEnd: time 1.393e-06/0.09125, allocations: 0 / 0.9076 GB, free: 7.707 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 6.739e-05/0.09132, allocations: 4 kB / 0.9076 GB, free: 7.703 MB / 0.8699 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.004201/0.09552, allocations: 2.031 MB / 0.9096 GB, free: 5.621 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.09556, allocations: 12.03 kB / 0.9096 GB, free: 5.609 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005071/0.1006, allocations: 0.9666 MB / 0.9106 GB, free: 4.641 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.1028, allocations: 0.9663 MB / 0.9115 GB, free: 3.641 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.1029, allocations: 98.89 kB / 0.9116 GB, free: 3.543 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/0.1032, allocations: 132.3 kB / 0.9117 GB, free: 3.414 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.1063, allocations: 1.956 MB / 0.9137 GB, free: 1.113 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-05/0.1064, allocations: 12.06 kB / 0.9137 GB, free: 1.102 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.1065, allocations: 64.33 kB / 0.9137 GB, free: 1.039 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002492/0.1068, allocations: 170.2 kB / 0.9139 GB, free: 0.8711 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.1089, allocations: 0.969 MB / 0.9148 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01516/0.1241, allocations: 11.82 MB / 0.9264 GB, free: 3.707 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/0.1282, allocations: 1.289 MB / 0.9276 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/0.1287, allocations: 234.6 kB / 0.9279 GB, free: 2.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.1289, allocations: 32.98 kB / 0.9279 GB, free: 2.148 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.1289, allocations: 50.33 kB / 0.9279 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=103): time 3.166e-06/0.1289, allocations: 0 / 0.9279 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.005152/0.1341, allocations: 1.875 MB / 0.9298 GB, free: 196 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.1341, allocations: 68.41 kB / 0.9298 GB, free: 116 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.1358, allocations: 1.047 MB / 0.9309 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.972e-05/0.1359, allocations: 37.7 kB / 0.9309 GB, free: 15 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007338/0.1366, allocations: 0.8379 MB / 0.9317 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004368/0.137, allocations: 420.5 kB / 0.9321 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004967/0.1375, allocations: 309.1 kB / 0.9324 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002556/0.1378, allocations: 488.7 kB / 0.9329 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000682/0.1385, allocations: 327.8 kB / 0.9332 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.1399, allocations: 1.036 MB / 0.9342 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/0.1421, allocations: 1.469 MB / 0.9356 GB, free: 9.52 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.1421, allocations: 4 kB / 0.9356 GB, free: 9.516 MB / 0.9011 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003405/0.1455, allocations: 1.576 MB / 0.9372 GB, free: 7.898 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.1456, allocations: 12 kB / 0.9372 GB, free: 7.887 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.1456, allocations: 16 kB / 0.9372 GB, free: 7.871 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009669/0.1466, allocations: 253.8 kB / 0.9374 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.148, allocations: 371.4 kB / 0.9378 GB, free: 7.227 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/0.161, allocations: 14.18 MB / 0.9516 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.1623, allocations: 128.1 kB / 0.9518 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.1624, allocations: 71.98 kB / 0.9518 GB, free: 7.871 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.0005873/0.163, allocations: 308 kB / 0.9521 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002826/0.1633, allocations: 159.2 kB / 0.9523 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.1659, allocations: 1.061 MB / 0.9533 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.1659, allocations: 12 kB / 0.9533 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1659, allocations: 4 kB / 0.9533 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.1659, allocations: 3.984 kB / 0.9533 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005146/0.1711, allocations: 2.44 MB / 0.9557 GB, free: 3.668 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.1711, allocations: 8 kB / 0.9557 GB, free: 3.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009551/0.172, allocations: 219.6 kB / 0.9559 GB, free: 3.445 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008717/0.1729, allocations: 241.9 kB / 0.9562 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.43e-05/0.173, allocations: 24 kB / 0.9562 GB, free: 3.152 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/0.1856, allocations: 14.18 MB / 0.97 GB, free: 3.992 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.299e-05/0.1856, allocations: 11.94 kB / 0.97 GB, free: 3.98 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.1884, allocations: 1.341 MB / 0.9714 GB, free: 2.496 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007002/0.1891, allocations: 223 kB / 0.9716 GB, free: 2.277 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.1893, allocations: 31.95 kB / 0.9716 GB, free: 2.246 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007782/0.19, allocations: 87.86 kB / 0.9717 GB, free: 2.16 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.1903, allocations: 108.6 kB / 0.9718 GB, free: 2.051 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.382e-05/0.1903, allocations: 36.03 kB / 0.9718 GB, free: 2.016 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.0008835/0.1912, allocations: 0.6115 MB / 0.9724 GB, free: 1.395 MB / 0.9324 GB Notification: Performance of sort global known variables: time 8e-08/0.1912, allocations: 0 / 0.9724 GB, free: 1.395 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001474/0.1927, allocations: 396 kB / 0.9728 GB, free: 1.008 MB / 0.9324 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.0002578/0.193, allocations: 146.9 kB / 0.9729 GB, free: 0.8555 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.003803/0.1968, allocations: 2.346 MB / 0.9752 GB, free: 14.38 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.1968, allocations: 0 / 0.9752 GB, free: 14.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002473/0.1992, allocations: 1.793 MB / 0.977 GB, free: 12.44 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.2011, allocations: 360.7 kB / 0.9773 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005036/0.2061, allocations: 2.587 MB / 0.9798 GB, free: 9.359 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009356/0.207, allocations: 0.7059 MB / 0.9805 GB, free: 8.625 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009986/0.208, allocations: 291 kB / 0.9808 GB, free: 8.336 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.2083, allocations: 96.47 kB / 0.9809 GB, free: 8.242 MB / 0.948 GB Notification: Performance of SimCode: time 1.223e-06/0.2083, allocations: 4 kB / 0.9809 GB, free: 8.238 MB / 0.948 GB Notification: Performance of Templates: time 0.03431/0.2427, allocations: 17.42 MB / 0.9979 GB, free: 7.145 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] 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: 9.171799512929283]