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.002118/0.002118, allocations: 108.1 kB / 16.45 MB, free: 6.5 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.002729/0.002729, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.543/1.543, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.195/3.195, allocations: 0.49 GB / 0.7916 GB, free: 33.37 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.002122/0.002122, allocations: 68.73 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3849, allocations: 176.1 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03954/0.4244, allocations: 31.26 MB / 1.352 GB, free: 3.465 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02472/0.4492, allocations: 13.75 MB / 1.365 GB, free: 5.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005201/0.4544, allocations: 198.4 kB / 1.365 GB, free: 5.484 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009793/0.4641, allocations: 3.246 MB / 1.369 GB, free: 2.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00937/0.4735, allocations: 2.755 MB / 1.371 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006199/0.4797, allocations: 2.028 MB / 1.373 GB, free: 13.43 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01188/0.4916, allocations: 7.609 MB / 1.381 GB, free: 5.801 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0117/0.5033, allocations: 6.148 MB / 1.387 GB, free: 15.54 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008847/0.5121, allocations: 3.646 MB / 1.39 GB, free: 11.88 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007777/0.5199, allocations: 3.5 MB / 1.394 GB, free: 8.367 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002567/0.5225, allocations: 0.5938 MB / 1.394 GB, free: 7.773 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005647/0.5281, allocations: 1.517 MB / 1.396 GB, free: 6.254 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004893/0.533, allocations: 2.412 MB / 1.398 GB, free: 3.836 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00734/0.5404, allocations: 2.878 MB / 1.401 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01462/0.555, allocations: 9.469 MB / 1.41 GB, free: 7.445 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.555, allocations: 0 / 1.41 GB, free: 7.445 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.583e-06/0.555, allocations: 0 / 1.41 GB, free: 7.445 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003317/0.5553, allocations: 0 / 1.41 GB, free: 7.445 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.01446/0.5698, allocations: 5.247 MB / 1.415 GB, free: 2.113 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/0.5698, allocations: 8.031 kB / 1.415 GB, free: 2.105 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006392/0.5762, allocations: 1.032 MB / 1.416 GB, free: 1.07 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008859/0.5851, allocations: 3.083 MB / 1.419 GB, free: 13.91 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003138/0.5854, allocations: 316.8 kB / 1.42 GB, free: 13.59 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001516/0.5869, allocations: 422 kB / 1.42 GB, free: 13.18 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01575/0.6027, allocations: 6.756 MB / 1.427 GB, free: 6.145 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.6028, allocations: 19.83 kB / 1.427 GB, free: 6.125 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005409/0.6033, allocations: 184 kB / 1.427 GB, free: 5.945 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009775/0.6043, allocations: 372 kB / 1.427 GB, free: 5.578 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.6149, allocations: 5.118 MB / 1.432 GB, free: 452 kB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0384/0.6533, allocations: 30.56 MB / 1.462 GB, free: 15.12 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.656, allocations: 1.309 MB / 1.463 GB, free: 13.8 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.6579, allocations: 1.246 MB / 1.464 GB, free: 12.55 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.658, allocations: 13.31 kB / 1.464 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/0.658, allocations: 47.88 kB / 1.465 GB, free: 12.49 MB / 1.17 GB Notification: Performance of pre-optimization done (n=130): time 3.436e-06/0.658, allocations: 7.938 kB / 1.465 GB, free: 12.48 MB / 1.17 GB Notification: Performance of matching and sorting (n=199): time 0.09419/0.7522, allocations: 23.08 MB / 1.487 GB, free: 5.277 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.7523, allocations: 77.41 kB / 1.487 GB, free: 5.188 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.756, allocations: 2.066 MB / 1.489 GB, free: 3.105 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002451/0.7562, allocations: 61.7 kB / 1.489 GB, free: 3.039 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001712/0.7579, allocations: 2.067 MB / 1.491 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008605/0.7588, allocations: 0.7126 MB / 1.492 GB, free: 240 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009718/0.7597, allocations: 408.4 kB / 1.492 GB, free: 15.83 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.7599, allocations: 305.1 kB / 1.493 GB, free: 15.53 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002448/0.7623, allocations: 1.43 MB / 1.494 GB, free: 14.09 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002962/0.7653, allocations: 2.01 MB / 1.496 GB, free: 11.83 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005531/0.7708, allocations: 3.692 MB / 1.5 GB, free: 7.898 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.889e-05/0.7708, allocations: 8 kB / 1.5 GB, free: 7.891 MB / 1.201 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0121/0.7829, allocations: 5.6 MB / 1.505 GB, free: 2.223 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.783, allocations: 19.88 kB / 1.505 GB, free: 2.203 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.783, allocations: 16 kB / 1.505 GB, free: 2.188 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007419/0.7904, allocations: 2.092 MB / 1.507 GB, free: 44 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.792, allocations: 375.4 kB / 1.508 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04522/0.8373, allocations: 38.45 MB / 1.545 GB, free: 6.695 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/0.8399, allocations: 123.9 kB / 1.545 GB, free: 6.574 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003715/0.8402, allocations: 96.45 kB / 1.545 GB, free: 6.48 MB / 1.248 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.002963/0.8432, allocations: 1.506 MB / 1.547 GB, free: 4.965 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000774/0.844, allocations: 294.2 kB / 1.547 GB, free: 4.676 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/0.8558, allocations: 5.145 MB / 1.552 GB, free: 15.46 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/0.8558, allocations: 23.98 kB / 1.552 GB, free: 15.43 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.263e-05/0.8559, allocations: 20 kB / 1.552 GB, free: 15.41 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/0.8559, allocations: 11.97 kB / 1.552 GB, free: 15.4 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01973/0.8756, allocations: 9.595 MB / 1.561 GB, free: 5.598 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/0.8756, allocations: 12 kB / 1.561 GB, free: 5.586 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009773/0.8766, allocations: 219.6 kB / 1.562 GB, free: 5.371 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006715/0.8833, allocations: 1.846 MB / 1.563 GB, free: 3.469 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002517/0.8836, allocations: 36.19 kB / 1.564 GB, free: 3.434 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04461/0.9282, allocations: 37.46 MB / 1.6 GB, free: 11.44 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/0.9282, allocations: 12.3 kB / 1.6 GB, free: 11.43 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/0.9391, allocations: 4.859 MB / 1.605 GB, free: 6.41 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/0.9408, allocations: 0.6279 MB / 1.605 GB, free: 5.762 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008298/0.9417, allocations: 44.14 kB / 1.606 GB, free: 5.719 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/0.9437, allocations: 123.8 kB / 1.606 GB, free: 5.598 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008011/0.9445, allocations: 201.5 kB / 1.606 GB, free: 5.398 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/0.9447, allocations: 60 kB / 1.606 GB, free: 5.34 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00273/0.9475, allocations: 1.378 MB / 1.607 GB, free: 3.953 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9475, allocations: 4 kB / 1.607 GB, free: 3.949 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.00448/0.952, allocations: 1.043 MB / 1.608 GB, free: 2.906 MB / 1.311 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.0004157/0.9524, allocations: 163 kB / 1.608 GB, free: 2.738 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.6779/1.63, allocations: 6.013 MB / 1.614 GB, free: 266.9 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.63, allocations: 2.75 kB / 1.614 GB, free: 266.9 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.006955/1.637, allocations: 4.284 MB / 1.618 GB, free: 264.8 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004615/1.642, allocations: 0.9898 MB / 1.619 GB, free: 264.8 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/1.66, allocations: 8.185 MB / 1.627 GB, free: 262 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007567/1.667, allocations: 3.124 MB / 1.63 GB, free: 261.2 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002747/1.67, allocations: 0.5255 MB / 1.631 GB, free: 261.2 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007335/1.671, allocations: 146.8 kB / 1.631 GB, free: 261.1 MB / 1.311 GB Notification: Performance of SimCode: time 1.903e-06/1.671, allocations: 0 / 1.631 GB, free: 261.1 MB / 1.311 GB Notification: Performance of Templates: time 0.09079/1.761, allocations: 59.15 MB / 1.689 GB, free: 227.7 MB / 1.311 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 -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/jenkins/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.852492356207222]