Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001933/0.001933, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00247/0.00247, allocations: 208 kB / 22.24 MB, free: 5.262 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.855/2.855, allocations: 475.9 MB / 0.7699 GB, free: 4.832 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002165/0.002165, allocations: 67.84 kB / 1.117 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3254, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04468/0.3701, allocations: 29.28 MB / 1.312 GB, free: 14.58 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02468/0.3948, allocations: 13.2 MB / 1.325 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003611/0.3984, allocations: 198.4 kB / 1.325 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.009925/0.4083, allocations: 3.211 MB / 1.328 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009639/0.4179, allocations: 2.753 MB / 1.331 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007166/0.4251, allocations: 2.015 MB / 1.333 GB, free: 9.148 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01444/0.4395, allocations: 7.626 MB / 1.34 GB, free: 1.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/0.4506, allocations: 4.596 MB / 1.344 GB, free: 12.78 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007824/0.4584, allocations: 3.654 MB / 1.348 GB, free: 9.117 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006791/0.4652, allocations: 3.293 MB / 1.351 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002382/0.4676, allocations: 0.5938 MB / 1.352 GB, free: 5.219 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00495/0.4725, allocations: 1.404 MB / 1.353 GB, free: 3.812 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004759/0.4773, allocations: 2.416 MB / 1.356 GB, free: 1.391 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.006247/0.4835, allocations: 2.331 MB / 1.358 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01571/0.4992, allocations: 9.523 MB / 1.367 GB, free: 5.496 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/0.4992, allocations: 0 / 1.367 GB, free: 5.496 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4992, allocations: 0 / 1.367 GB, free: 5.496 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0004022/0.4996, allocations: 4 kB / 1.367 GB, free: 5.492 MB / 1.061 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.01873/0.5184, allocations: 5.16 MB / 1.372 GB, free: 272 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.5184, allocations: 12.03 kB / 1.372 GB, free: 260 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007186/0.5256, allocations: 1.023 MB / 1.373 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009026/0.5346, allocations: 3.013 MB / 1.376 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004101/0.535, allocations: 312.8 kB / 1.376 GB, free: 11.81 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/0.5369, allocations: 421.1 kB / 1.377 GB, free: 11.4 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01907/0.556, allocations: 7.37 MB / 1.384 GB, free: 3.609 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002604/0.5562, allocations: 15.89 kB / 1.384 GB, free: 3.594 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001399/0.5576, allocations: 187.9 kB / 1.384 GB, free: 3.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001052/0.5587, allocations: 368 kB / 1.385 GB, free: 3.047 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.5707, allocations: 5.11 MB / 1.39 GB, free: 13.92 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03709/0.6077, allocations: 19.04 MB / 1.408 GB, free: 10.37 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.6102, allocations: 1.315 MB / 1.409 GB, free: 9.047 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002081/0.6123, allocations: 1.246 MB / 1.411 GB, free: 7.797 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.6125, allocations: 17.31 kB / 1.411 GB, free: 7.777 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/0.6125, allocations: 47.86 kB / 1.411 GB, free: 7.723 MB / 1.108 GB Notification: Performance of pre-optimization done (n=130): time 3.817e-06/0.6125, allocations: 4 kB / 1.411 GB, free: 7.719 MB / 1.108 GB Notification: Performance of matching and sorting (n=199): time 0.09414/0.7067, allocations: 22.82 MB / 1.433 GB, free: 0.8359 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.7067, allocations: 73.41 kB / 1.433 GB, free: 0.75 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/0.7104, allocations: 1.849 MB / 1.435 GB, free: 14.87 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002224/0.7107, allocations: 57.7 kB / 1.435 GB, free: 14.81 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001723/0.7124, allocations: 2.069 MB / 1.437 GB, free: 12.72 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008585/0.7132, allocations: 0.7166 MB / 1.438 GB, free: 12 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008942/0.7141, allocations: 408.4 kB / 1.438 GB, free: 11.59 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.7143, allocations: 305.1 kB / 1.438 GB, free: 11.29 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/0.7168, allocations: 1.43 MB / 1.44 GB, free: 9.859 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/0.7199, allocations: 2.01 MB / 1.442 GB, free: 7.602 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005639/0.7255, allocations: 3.696 MB / 1.445 GB, free: 3.668 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/0.7255, allocations: 4 kB / 1.445 GB, free: 3.664 MB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01197/0.7375, allocations: 5.58 MB / 1.451 GB, free: 14.02 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.7375, allocations: 19.12 kB / 1.451 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/0.7375, allocations: 16 kB / 1.451 GB, free: 13.98 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007009/0.7446, allocations: 2.083 MB / 1.453 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.7461, allocations: 379.3 kB / 1.453 GB, free: 11.47 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04417/0.7903, allocations: 35.88 MB / 1.488 GB, free: 5.746 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/0.793, allocations: 127.9 kB / 1.488 GB, free: 5.621 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004867/0.7935, allocations: 92 kB / 1.488 GB, free: 5.531 MB / 1.186 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.003176/0.7966, allocations: 1.504 MB / 1.49 GB, free: 4.016 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008934/0.7975, allocations: 274.3 kB / 1.49 GB, free: 3.746 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/0.8093, allocations: 5.126 MB / 1.495 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/0.8093, allocations: 23.94 kB / 1.495 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-05/0.8094, allocations: 16 kB / 1.495 GB, free: 14.5 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.992e-05/0.8094, allocations: 15.95 kB / 1.495 GB, free: 14.49 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0204/0.8298, allocations: 8.446 MB / 1.503 GB, free: 5.859 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/0.8298, allocations: 8 kB / 1.503 GB, free: 5.852 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009962/0.8308, allocations: 211.6 kB / 1.504 GB, free: 5.645 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006293/0.8371, allocations: 1.834 MB / 1.505 GB, free: 3.754 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002951/0.8374, allocations: 40 kB / 1.505 GB, free: 3.715 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04298/0.8804, allocations: 34.9 MB / 1.54 GB, free: 14.96 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/0.8804, allocations: 11.92 kB / 1.54 GB, free: 14.95 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.891, allocations: 4.831 MB / 1.544 GB, free: 9.953 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/0.8931, allocations: 0.5216 MB / 1.545 GB, free: 9.43 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008273/0.8939, allocations: 47.92 kB / 1.545 GB, free: 9.383 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/0.8959, allocations: 127.8 kB / 1.545 GB, free: 9.258 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000747/0.8966, allocations: 201.5 kB / 1.545 GB, free: 9.059 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/0.8968, allocations: 56 kB / 1.545 GB, free: 9.004 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002564/0.8994, allocations: 1.211 MB / 1.546 GB, free: 7.777 MB / 1.248 GB Notification: Performance of sort global known variables: time 6e-08/0.8994, allocations: 0 / 1.546 GB, free: 7.777 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00424/0.9036, allocations: 1.039 MB / 1.547 GB, free: 6.738 MB / 1.248 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.0004442/0.9041, allocations: 170.9 kB / 1.548 GB, free: 6.562 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01158/0.9157, allocations: 6.014 MB / 1.553 GB, free: 328 kB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.9157, allocations: 3.938 kB / 1.553 GB, free: 324 kB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.007772/0.9234, allocations: 4.277 MB / 1.558 GB, free: 11.8 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005382/0.9288, allocations: 0.9152 MB / 1.559 GB, free: 10.92 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/0.9461, allocations: 8.254 MB / 1.567 GB, free: 2.582 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004584/0.9507, allocations: 2.572 MB / 1.569 GB, free: 15.98 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002034/0.9527, allocations: 0.4983 MB / 1.57 GB, free: 15.47 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/0.9532, allocations: 135.4 kB / 1.57 GB, free: 15.34 MB / 1.279 GB Notification: Performance of SimCode: time 1.192e-06/0.9532, allocations: 0 / 1.57 GB, free: 15.34 MB / 1.279 GB Notification: Performance of Templates: time 0.7179/1.671, allocations: 65.87 MB / 1.634 GB, free: 277.7 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.769918674603105]