Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00181/0.00181, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.001898/0.001898, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.865/2.865, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.466e-06/3.466e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.025e-05/4.371e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.03223/0.03227, allocations: 11.1 MB / 0.7972 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0216/0.05386, allocations: 5.875 MB / 0.803 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.05535, allocations: 71.97 kB / 0.803 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.005026/0.06037, allocations: 1.778 MB / 0.8048 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.004048/0.06442, allocations: 1.214 MB / 0.806 GB, free: 8.734 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.06695, allocations: 0.8192 MB / 0.8068 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003631/0.07058, allocations: 2.182 MB / 0.8089 GB, free: 5.727 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.07234, allocations: 1.022 MB / 0.8099 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.07449, allocations: 1.217 MB / 0.8111 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.07587, allocations: 0.8346 MB / 0.8119 GB, free: 2.633 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.07607, allocations: 117.2 kB / 0.812 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.07856, allocations: 1.079 MB / 0.8131 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0006802/0.07924, allocations: 0.5686 MB / 0.8136 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0007819/0.08002, allocations: 0.5356 MB / 0.8141 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004009/0.08403, allocations: 2.503 MB / 0.8166 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.08403, allocations: 0 / 0.8166 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.714e-06/0.08403, allocations: 0 / 0.8166 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.44e-05/0.08407, allocations: 0 / 0.8166 GB, free: 13.82 MB / 0.7761 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.00349/0.08756, allocations: 2.027 MB / 0.8186 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.0876, allocations: 16.03 kB / 0.8186 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004927/0.09253, allocations: 0.9666 MB / 0.8195 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.09472, allocations: 0.9741 MB / 0.8205 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.09482, allocations: 102.8 kB / 0.8206 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/0.09506, allocations: 128.3 kB / 0.8207 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/0.09821, allocations: 1.952 MB / 0.8226 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/0.09825, allocations: 12.06 kB / 0.8226 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.0984, allocations: 64.34 kB / 0.8227 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003662/0.09876, allocations: 162.2 kB / 0.8228 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.1009, allocations: 0.9767 MB / 0.8238 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.1153, allocations: 11.81 MB / 0.8353 GB, free: 9.828 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/0.1193, allocations: 1.285 MB / 0.8366 GB, free: 8.531 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.1198, allocations: 234.6 kB / 0.8368 GB, free: 8.301 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.12, allocations: 28.92 kB / 0.8368 GB, free: 8.273 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.12, allocations: 54.39 kB / 0.8369 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=103): time 2.925e-06/0.12, allocations: 0 / 0.8369 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of matching and sorting (n=110): time 0.005249/0.1253, allocations: 1.875 MB / 0.8387 GB, free: 6.312 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.1254, allocations: 68.34 kB / 0.8388 GB, free: 6.234 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.1267, allocations: 1.039 MB / 0.8398 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/0.1268, allocations: 45.7 kB / 0.8398 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007405/0.1275, allocations: 0.8341 MB / 0.8406 GB, free: 4.277 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/0.128, allocations: 420.5 kB / 0.841 GB, free: 3.863 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004765/0.1284, allocations: 309.1 kB / 0.8413 GB, free: 3.551 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002407/0.1287, allocations: 484.7 kB / 0.8418 GB, free: 3.074 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/0.1294, allocations: 323.8 kB / 0.8421 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.1308, allocations: 1.04 MB / 0.8431 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.134, allocations: 1.462 MB / 0.8445 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/0.134, allocations: 7.938 kB / 0.8446 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003295/0.1373, allocations: 1.584 MB / 0.8461 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.1373, allocations: 12 kB / 0.8461 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.1373, allocations: 16 kB / 0.8461 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009481/0.1383, allocations: 253.5 kB / 0.8464 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.1396, allocations: 367.4 kB / 0.8467 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/0.152, allocations: 14.17 MB / 0.8606 GB, free: 14.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.1534, allocations: 127.8 kB / 0.8607 GB, free: 14.07 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.1536, allocations: 67.98 kB / 0.8607 GB, free: 14.01 MB / 0.823 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.0006223/0.1542, allocations: 312.1 kB / 0.861 GB, free: 13.69 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.1545, allocations: 163.2 kB / 0.8612 GB, free: 13.53 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.157, allocations: 1.057 MB / 0.8622 GB, free: 12.43 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.157, allocations: 16 kB / 0.8622 GB, free: 12.41 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.157, allocations: 4 kB / 0.8623 GB, free: 12.41 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.157, allocations: 7.969 kB / 0.8623 GB, free: 12.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005085/0.1621, allocations: 2.448 MB / 0.8646 GB, free: 9.785 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.1621, allocations: 4 kB / 0.8647 GB, free: 9.781 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009207/0.163, allocations: 223.6 kB / 0.8649 GB, free: 9.562 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008447/0.1639, allocations: 237.6 kB / 0.8651 GB, free: 9.297 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.838e-05/0.1639, allocations: 20 kB / 0.8651 GB, free: 9.277 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/0.1761, allocations: 14.18 MB / 0.879 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.1761, allocations: 8 kB / 0.879 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/0.1788, allocations: 1.349 MB / 0.8803 GB, free: 8.617 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006872/0.1795, allocations: 223 kB / 0.8805 GB, free: 8.398 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.1797, allocations: 27.98 kB / 0.8805 GB, free: 8.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/0.1804, allocations: 91.86 kB / 0.8806 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.1807, allocations: 104.6 kB / 0.8807 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.518e-05/0.1807, allocations: 36 kB / 0.8807 GB, free: 8.141 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008916/0.1816, allocations: 0.6115 MB / 0.8813 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.1816, allocations: 4 kB / 0.8813 GB, free: 7.516 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00148/0.1831, allocations: 396 kB / 0.8817 GB, free: 7.129 MB / 0.8386 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.0002849/0.1834, allocations: 142.1 kB / 0.8819 GB, free: 6.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003715/0.1871, allocations: 2.358 MB / 0.8842 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.1871, allocations: 0 / 0.8842 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002628/0.1897, allocations: 1.793 MB / 0.8859 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.1915, allocations: 352.8 kB / 0.8862 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.1964, allocations: 2.593 MB / 0.8888 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000916/0.1973, allocations: 0.7137 MB / 0.8895 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0008614/0.1982, allocations: 283 kB / 0.8897 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.1985, allocations: 96.47 kB / 0.8898 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of SimCode: time 1.392e-06/0.1985, allocations: 4 kB / 0.8898 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of Templates: time 0.04668/0.2452, allocations: 17.44 MB / 0.9069 GB, free: 13.28 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.653396058944054]