Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001688/0.001688, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002083/0.002083, allocations: 216.2 kB / 23.01 MB, free: 4.566 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 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.244/3.244, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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_latest_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_latest_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.002058/0.002058, allocations: 67.3 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3954, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04472/0.4401, allocations: 36.67 MB / 1.39 GB, free: 3.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02246/0.4626, allocations: 11.98 MB / 1.402 GB, free: 7.148 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003734/0.4663, allocations: 210.4 kB / 1.402 GB, free: 6.941 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01205/0.4784, allocations: 4.453 MB / 1.406 GB, free: 2.48 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00691/0.4853, allocations: 2.096 MB / 1.408 GB, free: 384 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007617/0.4929, allocations: 2.461 MB / 1.411 GB, free: 13.91 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01258/0.5055, allocations: 8.457 MB / 1.419 GB, free: 5.43 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01362/0.5191, allocations: 6.262 MB / 1.425 GB, free: 15.05 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00804/0.5271, allocations: 3.841 MB / 1.429 GB, free: 11.2 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008374/0.5355, allocations: 4.428 MB / 1.433 GB, free: 6.754 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.003047/0.5385, allocations: 0.7812 MB / 1.434 GB, free: 5.973 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006304/0.5448, allocations: 2.059 MB / 1.436 GB, free: 3.91 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.005766/0.5506, allocations: 3.137 MB / 1.439 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.008382/0.559, allocations: 3.404 MB / 1.442 GB, free: 13.34 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01946/0.5785, allocations: 12 MB / 1.454 GB, free: 1.309 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.5785, allocations: 0 / 1.454 GB, free: 1.309 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5785, allocations: 0 / 1.454 GB, free: 1.309 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.000423/0.5789, allocations: 4 kB / 1.454 GB, free: 1.305 MB / 1.139 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.01674/0.5956, allocations: 5.875 MB / 1.46 GB, free: 11.36 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.5957, allocations: 8.031 kB / 1.46 GB, free: 11.36 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00623/0.6019, allocations: 1.086 MB / 1.461 GB, free: 10.27 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008459/0.6104, allocations: 3.419 MB / 1.464 GB, free: 6.781 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003724/0.6107, allocations: 411.5 kB / 1.464 GB, free: 6.379 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/0.6124, allocations: 0.5393 MB / 1.465 GB, free: 5.84 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/0.6312, allocations: 9.079 MB / 1.474 GB, free: 12.44 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.6314, allocations: 27.83 kB / 1.474 GB, free: 12.41 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006381/0.632, allocations: 232 kB / 1.474 GB, free: 12.19 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004066/0.6324, allocations: 354.7 kB / 1.474 GB, free: 11.84 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01426/0.6467, allocations: 6.83 MB / 1.481 GB, free: 5 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0512/0.6979, allocations: 39.51 MB / 1.52 GB, free: 9.762 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/0.7015, allocations: 2.296 MB / 1.522 GB, free: 7.473 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002616/0.7041, allocations: 1.771 MB / 1.524 GB, free: 5.703 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.7042, allocations: 21.98 kB / 1.524 GB, free: 5.68 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.7043, allocations: 56.5 kB / 1.524 GB, free: 5.617 MB / 1.217 GB Notification: Performance of pre-optimization done (n=179): time 3.908e-06/0.7043, allocations: 0 / 1.524 GB, free: 5.617 MB / 1.217 GB Notification: Performance of matching and sorting (n=182): time 0.0245/0.7288, allocations: 9.694 MB / 1.533 GB, free: 11.9 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.7288, allocations: 73.34 kB / 1.533 GB, free: 11.82 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.731, allocations: 1.519 MB / 1.535 GB, free: 10.25 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.7312, allocations: 53.7 kB / 1.535 GB, free: 10.2 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001717/0.7329, allocations: 2.327 MB / 1.537 GB, free: 7.848 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006071/0.7335, allocations: 0.6622 MB / 1.538 GB, free: 7.18 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006038/0.7341, allocations: 412.1 kB / 1.538 GB, free: 6.77 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7342, allocations: 309.1 kB / 1.538 GB, free: 6.465 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.7359, allocations: 1.179 MB / 1.54 GB, free: 5.281 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.7382, allocations: 1.877 MB / 1.541 GB, free: 3.086 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004392/0.7426, allocations: 3.375 MB / 1.545 GB, free: 15.4 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.7426, allocations: 4 kB / 1.545 GB, free: 15.39 MB / 1.248 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007894/0.7505, allocations: 4.532 MB / 1.549 GB, free: 10.84 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/0.7506, allocations: 16 kB / 1.549 GB, free: 10.82 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.7506, allocations: 20 kB / 1.549 GB, free: 10.8 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00375/0.7543, allocations: 1.585 MB / 1.551 GB, free: 9.211 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.7555, allocations: 359.3 kB / 1.551 GB, free: 8.859 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02447/0.78, allocations: 18.2 MB / 1.569 GB, free: 6.207 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.7818, allocations: 115.9 kB / 1.569 GB, free: 6.094 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/0.782, allocations: 99.94 kB / 1.569 GB, free: 5.996 MB / 1.264 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.003448/0.7855, allocations: 1.891 MB / 1.571 GB, free: 4.094 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004836/0.7859, allocations: 242.5 kB / 1.571 GB, free: 3.855 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007198/0.7931, allocations: 4.039 MB / 1.575 GB, free: 15.79 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.7932, allocations: 20 kB / 1.575 GB, free: 15.77 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/0.7932, allocations: 19.98 kB / 1.575 GB, free: 15.75 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.7932, allocations: 12.34 kB / 1.575 GB, free: 15.74 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.8091, allocations: 9.398 MB / 1.584 GB, free: 6.086 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.8091, allocations: 8 kB / 1.584 GB, free: 6.078 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007791/0.8099, allocations: 183.7 kB / 1.584 GB, free: 5.898 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003388/0.8133, allocations: 1.355 MB / 1.586 GB, free: 4.535 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.8134, allocations: 32 kB / 1.586 GB, free: 4.504 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02254/0.836, allocations: 16.97 MB / 1.602 GB, free: 3.078 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.836, allocations: 8 kB / 1.602 GB, free: 3.07 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8389/1.675, allocations: 4.028 MB / 1.606 GB, free: 229.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/1.677, allocations: 474.8 kB / 1.607 GB, free: 229.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/1.677, allocations: 35.97 kB / 1.607 GB, free: 229.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009059/1.678, allocations: 90.86 kB / 1.607 GB, free: 229.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005436/1.678, allocations: 171.7 kB / 1.607 GB, free: 229.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/1.678, allocations: 51.53 kB / 1.607 GB, free: 229.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001672/1.68, allocations: 1.001 MB / 1.608 GB, free: 229.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 6e-08/1.68, allocations: 0 / 1.608 GB, free: 229.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003518/1.684, allocations: 0.9888 MB / 1.609 GB, free: 229.2 MB / 1.295 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.0002711/1.684, allocations: 148.2 kB / 1.609 GB, free: 229.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007594/1.691, allocations: 4.15 MB / 1.613 GB, free: 228.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.691, allocations: 5.312 kB / 1.613 GB, free: 228.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004186/1.696, allocations: 2.584 MB / 1.616 GB, free: 227.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003547/1.699, allocations: 0.7961 MB / 1.617 GB, free: 227.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/1.718, allocations: 9.638 MB / 1.626 GB, free: 223.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005159/1.723, allocations: 3.667 MB / 1.63 GB, free: 222.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005866/1.724, allocations: 133.8 kB / 1.63 GB, free: 222.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.192e-06/1.724, allocations: 0 / 1.63 GB, free: 222.2 MB / 1.295 GB Notification: Performance of Templates: time 0.1286/1.852, allocations: 159.9 MB / 1.786 GB, free: 85.32 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 23.062257979996502]