Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.00087/0.00087, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008473/0.0008473, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9129/0.9129, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.754/1.754, allocations: 377.9 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9822 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.263e-05, allocations: 6.281 kB / 0.9822 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02281/0.02283, allocations: 32.99 MB / 1.014 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01193/0.03476, allocations: 9.878 MB / 1.024 GB, free: 5.93 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.03718, allocations: 190.6 kB / 1.024 GB, free: 5.742 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.004738/0.04192, allocations: 3.827 MB / 1.028 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.4786/0.5205, allocations: 2.197 MB / 1.03 GB, free: 23.76 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.005396/0.5259, allocations: 1.981 MB / 1.032 GB, free: 23.76 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.01111/0.537, allocations: 8.142 MB / 1.04 GB, free: 22.68 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007976/0.545, allocations: 5.246 MB / 1.045 GB, free: 22.04 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008083/0.5531, allocations: 4.889 MB / 1.05 GB, free: 21 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00536/0.5584, allocations: 3.457 MB / 1.053 GB, free: 20.19 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.001529/0.56, allocations: 0.6791 MB / 1.054 GB, free: 20.19 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.5628, allocations: 1.38 MB / 1.055 GB, free: 20.06 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.002872/0.5657, allocations: 2.803 MB / 1.058 GB, free: 18.87 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.00251/0.5682, allocations: 2.165 MB / 1.06 GB, free: 17.93 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.5805, allocations: 10.59 MB / 1.071 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5805, allocations: 0 / 1.071 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5805, allocations: 4.75 kB / 1.071 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002449/0.5807, allocations: 0 / 1.071 GB, free: 14.95 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.008971/0.5897, allocations: 5.408 MB / 1.076 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.5897, allocations: 12.16 kB / 1.076 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002801/0.5925, allocations: 1.002 MB / 1.077 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003844/0.5964, allocations: 3.131 MB / 1.08 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.5966, allocations: 359.7 kB / 1.08 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005619/0.5971, allocations: 463.9 kB / 1.081 GB, free: 9.969 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009247/0.6064, allocations: 8.67 MB / 1.089 GB, free: 5.07 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.329e-05/0.6065, allocations: 19.52 kB / 1.089 GB, free: 5.066 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003907/0.6069, allocations: 209.5 kB / 1.089 GB, free: 4.922 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000399/0.6073, allocations: 373.7 kB / 1.09 GB, free: 4.828 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007069/0.6143, allocations: 5.926 MB / 1.095 GB, free: 1.855 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01995/0.6343, allocations: 22.91 MB / 1.118 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.6365, allocations: 1.988 MB / 1.12 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.6377, allocations: 1.329 MB / 1.121 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-05/0.6378, allocations: 16.09 kB / 1.121 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.6378, allocations: 59.66 kB / 1.121 GB, free: 14.24 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=157): time 4.208e-06/0.6378, allocations: 0 / 1.121 GB, free: 14.24 MB / 0.9636 GB Notification: Performance of matching and sorting (n=160): time 0.008971/0.6468, allocations: 6.65 MB / 1.128 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.6468, allocations: 68.72 kB / 1.128 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.6484, allocations: 1.705 MB / 1.129 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.14e-05/0.6485, allocations: 49.7 kB / 1.129 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009302/0.6494, allocations: 2.197 MB / 1.132 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006137/0.65, allocations: 0.5731 MB / 1.132 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/0.6504, allocations: 400 kB / 1.132 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.6505, allocations: 301.1 kB / 1.133 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.6515, allocations: 1.062 MB / 1.134 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.6528, allocations: 1.762 MB / 1.136 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002577/0.6554, allocations: 3.046 MB / 1.139 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.6554, allocations: 8.875 kB / 1.139 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004429/0.6599, allocations: 3.888 MB / 1.142 GB, free: 9.75 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.6599, allocations: 17.88 kB / 1.142 GB, free: 9.734 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.6599, allocations: 24.03 kB / 1.142 GB, free: 9.711 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.6613, allocations: 0.9378 MB / 1.143 GB, free: 8.742 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008393/0.6622, allocations: 427.9 kB / 1.144 GB, free: 8.355 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.6753, allocations: 21.11 MB / 1.164 GB, free: 2.152 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.6767, allocations: 124 kB / 1.164 GB, free: 2.031 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.6768, allocations: 99.98 kB / 1.165 GB, free: 1.934 MB / 0.9948 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002868/0.6797, allocations: 1.644 MB / 1.166 GB, free: 316 kB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.6799, allocations: 246.5 kB / 1.166 GB, free: 68 kB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/0.6836, allocations: 3.232 MB / 1.17 GB, free: 12.82 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.6836, allocations: 19.94 kB / 1.17 GB, free: 12.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.6836, allocations: 8 kB / 1.17 GB, free: 12.79 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.6836, allocations: 7.969 kB / 1.17 GB, free: 12.78 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00767/0.6913, allocations: 6.438 MB / 1.176 GB, free: 6.305 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.6913, allocations: 4 kB / 1.176 GB, free: 6.301 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004835/0.6918, allocations: 217.3 kB / 1.176 GB, free: 6.102 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.693, allocations: 0.8871 MB / 1.177 GB, free: 5.184 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-05/0.6931, allocations: 35.94 kB / 1.177 GB, free: 5.148 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.7064, allocations: 21.07 MB / 1.198 GB, free: 14.97 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.7064, allocations: 11.31 kB / 1.198 GB, free: 14.96 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/0.71, allocations: 3.336 MB / 1.201 GB, free: 11.55 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008117/0.7108, allocations: 461.1 kB / 1.201 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.711, allocations: 32 kB / 1.201 GB, free: 11.07 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/0.7116, allocations: 95.88 kB / 1.201 GB, free: 10.98 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/0.7119, allocations: 147.8 kB / 1.201 GB, free: 10.84 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.712, allocations: 51.98 kB / 1.202 GB, free: 10.79 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001438/0.7134, allocations: 1.087 MB / 1.203 GB, free: 9.684 MB / 1.042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7134, allocations: 0 / 1.203 GB, free: 9.684 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.002844/0.7162, allocations: 0.8984 MB / 1.203 GB, free: 8.785 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00026/0.7165, allocations: 156.4 kB / 1.204 GB, free: 8.637 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.004326/0.7208, allocations: 4.293 MB / 1.208 GB, free: 4.312 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.7208, allocations: 4 kB / 1.208 GB, free: 4.309 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002756/0.7236, allocations: 2.883 MB / 1.211 GB, free: 1.297 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.7256, allocations: 0.746 MB / 1.211 GB, free: 0.5625 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.7373, allocations: 8.449 MB / 1.22 GB, free: 8.027 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00251/0.7398, allocations: 2.739 MB / 1.222 GB, free: 5.25 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.7403, allocations: 148.5 kB / 1.222 GB, free: 5.105 MB / 1.057 GB Notification: Performance of SimCode: time 1.533e-06/0.7403, allocations: 0 / 1.222 GB, free: 5.105 MB / 1.057 GB Notification: Performance of Templates: time 0.6765/1.417, allocations: 340.5 MB / 1.555 GB, free: 483.8 MB / 1.37 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 18.955485858023167]