Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001431/0.001431, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001587/0.001587, allocations: 217.9 kB / 22.25 MB, free: 5.121 MB / 14.72 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.191/3.191, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.64 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3388, allocations: 176.1 MB / 1.326 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04757/0.3864, allocations: 36.67 MB / 1.362 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02155/0.4079, allocations: 11.98 MB / 1.374 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.4108, allocations: 218.4 kB / 1.374 GB, free: 388 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01165/0.4225, allocations: 4.445 MB / 1.378 GB, free: 11.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005949/0.4284, allocations: 2.088 MB / 1.38 GB, free: 9.828 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006841/0.4353, allocations: 2.466 MB / 1.383 GB, free: 7.359 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01097/0.4462, allocations: 8.469 MB / 1.391 GB, free: 14.86 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0113/0.4575, allocations: 6.237 MB / 1.397 GB, free: 8.504 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006302/0.4639, allocations: 3.849 MB / 1.401 GB, free: 4.645 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007828/0.4717, allocations: 4.428 MB / 1.405 GB, free: 208 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002157/0.4738, allocations: 0.7813 MB / 1.406 GB, free: 15.42 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005323/0.4792, allocations: 2.059 MB / 1.408 GB, free: 13.36 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004633/0.4838, allocations: 3.137 MB / 1.411 GB, free: 10.21 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00649/0.4903, allocations: 3.408 MB / 1.414 GB, free: 6.793 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01563/0.5059, allocations: 12.01 MB / 1.426 GB, free: 10.75 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.5059, allocations: 0 / 1.426 GB, free: 10.75 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5059, allocations: 0 / 1.426 GB, free: 10.75 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002957/0.5062, allocations: 4 kB / 1.426 GB, free: 10.74 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01289/0.5191, allocations: 5.863 MB / 1.432 GB, free: 4.816 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.5192, allocations: 8.031 kB / 1.432 GB, free: 4.809 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005697/0.5249, allocations: 1.09 MB / 1.433 GB, free: 3.715 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008594/0.5334, allocations: 3.415 MB / 1.436 GB, free: 236 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003827/0.5338, allocations: 411.5 kB / 1.437 GB, free: 15.82 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001211/0.535, allocations: 0.5432 MB / 1.437 GB, free: 15.29 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01664/0.5517, allocations: 9.087 MB / 1.446 GB, free: 5.879 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001521/0.5518, allocations: 27.78 kB / 1.446 GB, free: 5.852 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005923/0.5524, allocations: 232 kB / 1.446 GB, free: 5.625 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003952/0.5528, allocations: 350.8 kB / 1.447 GB, free: 5.281 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/0.5667, allocations: 6.834 MB / 1.453 GB, free: 14.44 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04581/0.6126, allocations: 39.51 MB / 1.492 GB, free: 3.207 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003628/0.6162, allocations: 2.292 MB / 1.494 GB, free: 0.918 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/0.6188, allocations: 1.771 MB / 1.496 GB, free: 15.15 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.6189, allocations: 18 kB / 1.496 GB, free: 15.13 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.619, allocations: 52.56 kB / 1.496 GB, free: 15.07 MB / 1.201 GB Notification: Performance of pre-optimization done (n=179): time 5.851e-06/0.619, allocations: 4 kB / 1.496 GB, free: 15.07 MB / 1.201 GB Notification: Performance of matching and sorting (n=182): time 0.02504/0.644, allocations: 9.696 MB / 1.505 GB, free: 5.359 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.6441, allocations: 69.41 kB / 1.506 GB, free: 5.277 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/0.6463, allocations: 1.526 MB / 1.507 GB, free: 3.707 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/0.6465, allocations: 53.7 kB / 1.507 GB, free: 3.648 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001688/0.6481, allocations: 2.327 MB / 1.509 GB, free: 1.297 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006495/0.6488, allocations: 0.6662 MB / 1.51 GB, free: 0.625 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000647/0.6494, allocations: 416.1 kB / 1.51 GB, free: 216 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6496, allocations: 305.1 kB / 1.511 GB, free: 15.91 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.6514, allocations: 1.179 MB / 1.512 GB, free: 14.73 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/0.6538, allocations: 1.885 MB / 1.514 GB, free: 12.52 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00457/0.6583, allocations: 3.367 MB / 1.517 GB, free: 8.844 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.6583, allocations: 4 kB / 1.517 GB, free: 8.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008133/0.6665, allocations: 4.539 MB / 1.521 GB, free: 4.277 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.6665, allocations: 17.72 kB / 1.521 GB, free: 4.262 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/0.6665, allocations: 20 kB / 1.521 GB, free: 4.242 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00393/0.6705, allocations: 1.585 MB / 1.523 GB, free: 2.648 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.6717, allocations: 351.3 kB / 1.523 GB, free: 2.305 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02619/0.6979, allocations: 18.2 MB / 1.541 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.6995, allocations: 119.9 kB / 1.541 GB, free: 15.52 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/0.6998, allocations: 99.98 kB / 1.541 GB, free: 15.42 MB / 1.248 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003183/0.703, allocations: 1.887 MB / 1.543 GB, free: 13.52 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005176/0.7035, allocations: 238.5 kB / 1.543 GB, free: 13.29 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007883/0.7114, allocations: 4.043 MB / 1.547 GB, free: 9.219 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.7114, allocations: 16 kB / 1.547 GB, free: 9.203 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.202e-05/0.7114, allocations: 16 kB / 1.547 GB, free: 9.188 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/0.7115, allocations: 16.06 kB / 1.547 GB, free: 9.172 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01848/0.7299, allocations: 9.402 MB / 1.557 GB, free: 15.53 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.73, allocations: 4 kB / 1.557 GB, free: 15.52 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/0.7308, allocations: 179.7 kB / 1.557 GB, free: 15.35 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003566/0.7343, allocations: 1.359 MB / 1.558 GB, free: 13.98 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.7345, allocations: 36 kB / 1.558 GB, free: 13.95 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02378/0.7583, allocations: 16.96 MB / 1.575 GB, free: 12.53 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/0.7583, allocations: 11.94 kB / 1.575 GB, free: 12.52 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007859/0.7661, allocations: 4.028 MB / 1.579 GB, free: 8.402 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.7675, allocations: 482.3 kB / 1.579 GB, free: 7.93 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004364/0.7679, allocations: 32 kB / 1.579 GB, free: 7.898 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.769, allocations: 92.39 kB / 1.579 GB, free: 7.809 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000445/0.7694, allocations: 169.5 kB / 1.579 GB, free: 7.641 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.7696, allocations: 48 kB / 1.579 GB, free: 7.594 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001615/0.7712, allocations: 1.001 MB / 1.58 GB, free: 6.57 MB / 1.279 GB Notification: Performance of sort global known variables: time 2e-07/0.7712, allocations: 0 / 1.58 GB, free: 6.57 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003182/0.7744, allocations: 0.9883 MB / 1.581 GB, free: 5.582 MB / 1.279 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002853/0.7746, allocations: 143.1 kB / 1.581 GB, free: 5.43 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007463/0.7821, allocations: 4.182 MB / 1.586 GB, free: 1.191 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.7821, allocations: 0 / 1.586 GB, free: 1.191 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004721/0.7868, allocations: 2.576 MB / 1.588 GB, free: 14.57 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/0.7904, allocations: 0.7747 MB / 1.589 GB, free: 13.82 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/0.8068, allocations: 8.875 MB / 1.597 GB, free: 4.859 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004594/0.8114, allocations: 3.573 MB / 1.601 GB, free: 1.254 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001365/0.8127, allocations: 467.8 kB / 1.601 GB, free: 0.793 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.813, allocations: 115.4 kB / 1.602 GB, free: 0.6797 MB / 1.295 GB Notification: Performance of SimCode: time 8.11e-07/0.813, allocations: 11.94 kB / 1.602 GB, free: 0.668 MB / 1.295 GB Notification: Performance of Templates: time 0.7045/1.518, allocations: 46.86 MB / 1.647 GB, free: 238.2 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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: 10.998330637812614]