Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.001171/0.001171, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001512/0.001512, allocations: 177 kB / 23.36 MB, free: 1.133 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 0.9877/0.9877, allocations: 177.2 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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 2.413/2.413, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_sc.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_sc.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.353e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.0159/0.01593, allocations: 21.8 MB / 0.8599 GB, free: 8.301 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.02754, allocations: 6.822 MB / 0.8665 GB, free: 1.457 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/0.0307, allocations: 226.2 kB / 0.8668 GB, free: 1.234 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.03291, allocations: 0.9227 MB / 0.8677 GB, free: 312 kB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004552/0.03747, allocations: 2.33 MB / 0.8699 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003646/0.04111, allocations: 2.274 MB / 0.8722 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00921/0.05032, allocations: 9.671 MB / 0.8816 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007186/0.05751, allocations: 5.828 MB / 0.8873 GB, free: 12 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008279/0.06579, allocations: 5.711 MB / 0.8929 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006109/0.0719, allocations: 4.248 MB / 0.897 GB, free: 2.02 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.002133/0.07403, allocations: 0.7695 MB / 0.8978 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.07664, allocations: 0.8669 MB / 0.8986 GB, free: 392 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003406/0.08004, allocations: 3.282 MB / 0.9018 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.004608/0.08465, allocations: 2.522 MB / 0.9043 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.006431/0.09108, allocations: 6.147 MB / 0.9103 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.09109, allocations: 0 / 0.9103 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.192e-06/0.09109, allocations: 4 kB / 0.9103 GB, free: 4.398 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002886/0.09137, allocations: 0 / 0.9103 GB, free: 4.398 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.007242/0.09862, allocations: 6.016 MB / 0.9162 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.09865, allocations: 12.62 kB / 0.9162 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00392/0.1026, allocations: 1.681 MB / 0.9178 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003677/0.1063, allocations: 2.946 MB / 0.9207 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.1064, allocations: 378.5 kB / 0.9211 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005942/0.107, allocations: 0.5158 MB / 0.9216 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006263/0.1133, allocations: 5.351 MB / 0.9268 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/0.1134, allocations: 28 kB / 0.9268 GB, free: 2.789 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000414/0.1138, allocations: 220.3 kB / 0.927 GB, free: 2.574 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008848/0.1147, allocations: 0.5017 MB / 0.9275 GB, free: 2.07 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002942/0.1177, allocations: 1.544 MB / 0.929 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02172/0.1394, allocations: 20.86 MB / 0.9494 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.1407, allocations: 1.112 MB / 0.9505 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001/0.1417, allocations: 0.827 MB / 0.9513 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.1419, allocations: 50.08 kB / 0.9513 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.1419, allocations: 68.59 kB / 0.9514 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=265): time 5.099e-06/0.1419, allocations: 0 / 0.9514 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of matching and sorting (n=268): time 0.02569/0.1676, allocations: 11.25 MB / 0.9624 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1677, allocations: 81.52 kB / 0.9625 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.169, allocations: 1.831 MB / 0.9643 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.1692, allocations: 73.7 kB / 0.9643 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.1703, allocations: 2.005 MB / 0.9663 GB, free: 9.391 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005399/0.1708, allocations: 0.9642 MB / 0.9672 GB, free: 8.418 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005477/0.1713, allocations: 0.5026 MB / 0.9677 GB, free: 7.906 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.1714, allocations: 305.1 kB / 0.968 GB, free: 7.605 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005795/0.172, allocations: 446.4 kB / 0.9684 GB, free: 7.164 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008898/0.1729, allocations: 1.16 MB / 0.9696 GB, free: 5.688 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.1746, allocations: 1.919 MB / 0.9714 GB, free: 3.422 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.1746, allocations: 8 kB / 0.9714 GB, free: 3.414 MB / 0.9323 GB Notification: Performance of matching and sorting (n=395) (initialization): time 0.005593/0.1802, allocations: 3.372 MB / 0.9747 GB, free: 15.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.1802, allocations: 19.94 kB / 0.9748 GB, free: 15.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/0.1802, allocations: 20.41 kB / 0.9748 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005762/0.186, allocations: 2.423 MB / 0.9771 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.1873, allocations: 427.3 kB / 0.9775 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/0.2063, allocations: 24.11 MB / 1.001 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.2082, allocations: 88 kB / 1.001 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002927/0.2085, allocations: 92 kB / 1.001 GB, free: 3.285 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (248): * Single equations (assignments): 233 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,16,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001326/0.2098, allocations: 299.9 kB / 1.002 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005107/0.2103, allocations: 299.7 kB / 1.002 GB, free: 2.688 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005026/0.2154, allocations: 3.081 MB / 1.005 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.2154, allocations: 32 kB / 1.005 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.045e-05/0.2155, allocations: 27.94 kB / 1.005 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.2155, allocations: 11.95 kB / 1.005 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009258/0.2247, allocations: 5.226 MB / 1.01 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.2247, allocations: 4 kB / 1.01 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/0.2254, allocations: 223.7 kB / 1.01 GB, free: 9.824 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005807/0.2312, allocations: 2.386 MB / 1.013 GB, free: 7.383 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002934/0.2315, allocations: 52 kB / 1.013 GB, free: 7.332 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/0.25, allocations: 24.13 MB / 1.036 GB, free: 13.76 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.25, allocations: 11.94 kB / 1.036 GB, free: 13.75 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006456/0.2565, allocations: 3.67 MB / 1.04 GB, free: 9.859 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.2576, allocations: 0.4939 MB / 1.04 GB, free: 9.363 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/0.2578, allocations: 52 kB / 1.04 GB, free: 9.312 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007351/0.2586, allocations: 52 kB / 1.04 GB, free: 9.262 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006369/0.2592, allocations: 249.4 kB / 1.041 GB, free: 9.016 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.2593, allocations: 56 kB / 1.041 GB, free: 8.961 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009958/0.2603, allocations: 0.9129 MB / 1.042 GB, free: 8.039 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2603, allocations: 0 / 1.042 GB, free: 8.039 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00318/0.2635, allocations: 1.391 MB / 1.043 GB, free: 6.648 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (124): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(2,2,100.0%), (1,1,100.0%), (2,8,100.0%), (3,15,100.0%), (2,2,100.0%), (1,1,100.0%), (2,8,100.0%), (3,15,100.0%), (2,2,100.0%), (1,1,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003174/0.2638, allocations: 174.5 kB / 1.043 GB, free: 6.473 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00513/0.269, allocations: 4.361 MB / 1.047 GB, free: 1.895 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.409e-05/0.269, allocations: 38 kB / 1.047 GB, free: 1.859 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.3354/0.6044, allocations: 3.541 MB / 1.051 GB, free: 175.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004289/0.6087, allocations: 1.352 MB / 1.052 GB, free: 175 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.621, allocations: 8.575 MB / 1.061 GB, free: 171.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/0.6229, allocations: 1.421 MB / 1.062 GB, free: 171.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001645/0.6245, allocations: 386.7 kB / 1.062 GB, free: 171.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001593/0.6261, allocations: 0.7937 MB / 1.063 GB, free: 171.5 MB / 1.01 GB Notification: Performance of SimCode: time 2.314e-06/0.6261, allocations: 0 / 1.063 GB, free: 171.5 MB / 1.01 GB Notification: Performance of Templates: time 0.08764/0.7137, allocations: 80.47 MB / 1.142 GB, free: 125.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.426065510138869]