Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001385/0.001385, allocations: 96.42 kB / 19.7 MB, free: 2.129 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.001524/0.001524, allocations: 212.6 kB / 22.99 MB, free: 4.945 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.301/3.301, allocations: 0.49 GB / 0.7959 GB, free: 35.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [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.002071/0.002071, allocations: 62.84 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3463, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03851/0.3848, allocations: 29.29 MB / 1.356 GB, free: 3.617 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02341/0.4082, allocations: 13.21 MB / 1.369 GB, free: 6.375 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003456/0.4116, allocations: 198.4 kB / 1.369 GB, free: 6.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009208/0.4208, allocations: 3.207 MB / 1.372 GB, free: 2.965 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008407/0.4293, allocations: 2.744 MB / 1.375 GB, free: 212 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006112/0.4354, allocations: 2.022 MB / 1.377 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01087/0.4462, allocations: 7.63 MB / 1.384 GB, free: 6.527 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007591/0.4538, allocations: 4.635 MB / 1.389 GB, free: 1.773 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00635/0.4602, allocations: 3.673 MB / 1.392 GB, free: 14.09 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006306/0.4665, allocations: 3.5 MB / 1.396 GB, free: 10.57 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002219/0.4687, allocations: 0.5938 MB / 1.396 GB, free: 9.98 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/0.4731, allocations: 1.393 MB / 1.397 GB, free: 8.586 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003239/0.4763, allocations: 2.416 MB / 1.4 GB, free: 6.164 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003854/0.4802, allocations: 2.327 MB / 1.402 GB, free: 3.828 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.4934, allocations: 9.516 MB / 1.411 GB, free: 10.28 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.4934, allocations: 8 kB / 1.411 GB, free: 10.27 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4934, allocations: 0 / 1.411 GB, free: 10.27 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002985/0.4937, allocations: 0 / 1.411 GB, free: 10.27 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01266/0.5064, allocations: 5.175 MB / 1.416 GB, free: 5.031 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.5064, allocations: 8.031 kB / 1.416 GB, free: 5.023 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006148/0.5126, allocations: 1.028 MB / 1.417 GB, free: 3.992 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007418/0.52, allocations: 3.017 MB / 1.42 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000329/0.5203, allocations: 316.8 kB / 1.421 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008972/0.5212, allocations: 424 kB / 1.421 GB, free: 160 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.535, allocations: 7.358 MB / 1.428 GB, free: 8.371 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.5352, allocations: 27.81 kB / 1.428 GB, free: 8.344 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004854/0.5357, allocations: 176 kB / 1.429 GB, free: 8.172 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009296/0.5366, allocations: 372 kB / 1.429 GB, free: 7.805 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009439/0.546, allocations: 5.106 MB / 1.434 GB, free: 2.68 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02906/0.5751, allocations: 19.05 MB / 1.452 GB, free: 15.12 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.5772, allocations: 1.309 MB / 1.454 GB, free: 13.8 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.5789, allocations: 1.242 MB / 1.455 GB, free: 12.55 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.5791, allocations: 13.31 kB / 1.455 GB, free: 12.54 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/0.5791, allocations: 55.81 kB / 1.455 GB, free: 12.48 MB / 1.154 GB Notification: Performance of pre-optimization done (n=130): time 3.867e-06/0.5791, allocations: 0 / 1.455 GB, free: 12.48 MB / 1.154 GB Notification: Performance of matching and sorting (n=199): time 0.09305/0.6722, allocations: 22.83 MB / 1.477 GB, free: 5.586 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.6722, allocations: 77.34 kB / 1.477 GB, free: 5.496 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/0.6751, allocations: 1.845 MB / 1.479 GB, free: 3.621 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002459/0.6753, allocations: 57.7 kB / 1.479 GB, free: 3.559 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00159/0.6769, allocations: 2.077 MB / 1.481 GB, free: 1.465 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007221/0.6776, allocations: 0.7048 MB / 1.482 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008095/0.6784, allocations: 412.4 kB / 1.482 GB, free: 352 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6786, allocations: 309 kB / 1.483 GB, free: 40 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/0.6808, allocations: 1.43 MB / 1.484 GB, free: 14.6 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/0.6836, allocations: 2.013 MB / 1.486 GB, free: 12.34 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005227/0.6888, allocations: 3.7 MB / 1.49 GB, free: 8.402 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.6888, allocations: 4 kB / 1.49 GB, free: 8.398 MB / 1.186 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01202/0.7009, allocations: 5.577 MB / 1.495 GB, free: 2.758 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.7009, allocations: 12 kB / 1.495 GB, free: 2.746 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.7009, allocations: 24.16 kB / 1.495 GB, free: 2.723 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007353/0.7083, allocations: 2.068 MB / 1.497 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.7098, allocations: 383.4 kB / 1.497 GB, free: 228 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04152/0.7514, allocations: 35.87 MB / 1.533 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/0.7537, allocations: 135.9 kB / 1.533 GB, free: 10.36 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002232/0.7539, allocations: 88 kB / 1.533 GB, free: 10.28 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0027/0.7566, allocations: 1.505 MB / 1.534 GB, free: 8.762 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000532/0.7572, allocations: 278.2 kB / 1.534 GB, free: 8.488 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/0.7683, allocations: 5.13 MB / 1.539 GB, free: 3.285 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/0.7684, allocations: 24 kB / 1.54 GB, free: 3.262 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.083e-05/0.7684, allocations: 16 kB / 1.54 GB, free: 3.246 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/0.7684, allocations: 7.969 kB / 1.54 GB, free: 3.238 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/0.7861, allocations: 8.446 MB / 1.548 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.7861, allocations: 8 kB / 1.548 GB, free: 10.6 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009121/0.787, allocations: 215.6 kB / 1.548 GB, free: 10.39 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00633/0.7934, allocations: 1.842 MB / 1.55 GB, free: 8.488 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.7935, allocations: 40 kB / 1.55 GB, free: 8.449 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03942/0.833, allocations: 34.89 MB / 1.584 GB, free: 3.711 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.986e-06/0.833, allocations: 8 kB / 1.584 GB, free: 3.703 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009602/0.8426, allocations: 4.831 MB / 1.589 GB, free: 14.71 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/0.8442, allocations: 0.5293 MB / 1.589 GB, free: 14.18 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003648/0.8445, allocations: 40 kB / 1.589 GB, free: 14.14 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.8458, allocations: 127.8 kB / 1.589 GB, free: 14.02 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006099/0.8464, allocations: 205.5 kB / 1.59 GB, free: 13.81 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.8466, allocations: 56 kB / 1.59 GB, free: 13.76 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001774/0.8483, allocations: 1.204 MB / 1.591 GB, free: 12.54 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.8483, allocations: 0 / 1.591 GB, free: 12.54 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003319/0.8517, allocations: 1.047 MB / 1.592 GB, free: 11.49 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003158/0.852, allocations: 171 kB / 1.592 GB, free: 11.32 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01027/0.8622, allocations: 6.006 MB / 1.598 GB, free: 5.078 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/0.8623, allocations: 4 kB / 1.598 GB, free: 5.074 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006988/0.8692, allocations: 4.289 MB / 1.602 GB, free: 0.5547 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6552/1.524, allocations: 0.8972 MB / 1.603 GB, free: 251.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/1.541, allocations: 8.254 MB / 1.611 GB, free: 249 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004495/1.546, allocations: 2.578 MB / 1.613 GB, free: 248.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002427/1.548, allocations: 0.4924 MB / 1.614 GB, free: 248.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/1.548, allocations: 137.2 kB / 1.614 GB, free: 248.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.713e-06/1.548, allocations: 0.625 kB / 1.614 GB, free: 248.7 MB / 1.295 GB Notification: Performance of Templates: time 0.09753/1.646, allocations: 66.77 MB / 1.679 GB, free: 210 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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: 11.917551737002213]