Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001767/0.001767, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002455/0.002455, allocations: 216.3 kB / 22.26 MB, free: 5.082 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 8.027 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.789/2.789, allocations: 476.7 MB / 0.7707 GB, free: 4.309 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_L,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [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.002127/0.002127, allocations: 65.27 kB / 1.118 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3254, allocations: 169.9 MB / 1.284 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04452/0.37, allocations: 34.28 MB / 1.317 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01933/0.3893, allocations: 10.7 MB / 1.328 GB, free: 6.195 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.3925, allocations: 194.6 kB / 1.328 GB, free: 6.004 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0108/0.4033, allocations: 3.886 MB / 1.332 GB, free: 2.109 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006128/0.4094, allocations: 1.952 MB / 1.334 GB, free: 152 kB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00647/0.4159, allocations: 2.204 MB / 1.336 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0108/0.4267, allocations: 7.334 MB / 1.343 GB, free: 6.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009117/0.4358, allocations: 5.15 MB / 1.348 GB, free: 1.32 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005723/0.4415, allocations: 3.268 MB / 1.351 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006669/0.4482, allocations: 3.684 MB / 1.355 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001746/0.4499, allocations: 0.6445 MB / 1.355 GB, free: 9.703 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004445/0.4544, allocations: 1.802 MB / 1.357 GB, free: 7.898 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003727/0.4581, allocations: 2.615 MB / 1.36 GB, free: 5.277 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006155/0.4643, allocations: 2.898 MB / 1.363 GB, free: 2.367 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0138/0.4781, allocations: 10.13 MB / 1.372 GB, free: 8.203 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4781, allocations: 0 / 1.372 GB, free: 8.203 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4781, allocations: 4 kB / 1.372 GB, free: 8.199 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000257/0.4783, allocations: 0 / 1.372 GB, free: 8.199 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01045/0.4888, allocations: 5.048 MB / 1.377 GB, free: 3.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4888, allocations: 15.97 kB / 1.377 GB, free: 3.074 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005242/0.4941, allocations: 0.9813 MB / 1.378 GB, free: 2.09 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007081/0.5011, allocations: 2.995 MB / 1.381 GB, free: 15.02 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003157/0.5015, allocations: 349.6 kB / 1.382 GB, free: 14.68 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/0.5027, allocations: 472.2 kB / 1.382 GB, free: 14.22 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02056/0.5233, allocations: 7.667 MB / 1.39 GB, free: 6.207 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003173/0.5236, allocations: 27.81 kB / 1.39 GB, free: 6.18 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001441/0.5251, allocations: 204 kB / 1.39 GB, free: 5.98 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004422/0.5255, allocations: 309 kB / 1.39 GB, free: 5.676 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/0.5384, allocations: 5.71 MB / 1.396 GB, free: 15.95 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04535/0.5838, allocations: 34.57 MB / 1.429 GB, free: 10.17 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.5868, allocations: 1.554 MB / 1.431 GB, free: 8.605 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.5886, allocations: 1.124 MB / 1.432 GB, free: 7.484 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.5887, allocations: 13.31 kB / 1.432 GB, free: 7.469 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.5888, allocations: 55.81 kB / 1.432 GB, free: 7.406 MB / 1.139 GB Notification: Performance of pre-optimization done (n=133): time 3.256e-06/0.5888, allocations: 0 / 1.432 GB, free: 7.406 MB / 1.139 GB Notification: Performance of matching and sorting (n=136): time 0.01482/0.6036, allocations: 6.203 MB / 1.438 GB, free: 1.16 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.6037, allocations: 64.72 kB / 1.438 GB, free: 1.086 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.6058, allocations: 1.48 MB / 1.44 GB, free: 15.56 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.6059, allocations: 49.7 kB / 1.44 GB, free: 15.5 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.6074, allocations: 2.073 MB / 1.442 GB, free: 13.41 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004611/0.6079, allocations: 0.4996 MB / 1.442 GB, free: 12.91 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005239/0.6084, allocations: 355.3 kB / 1.443 GB, free: 12.55 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6085, allocations: 305.1 kB / 1.443 GB, free: 12.25 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.6099, allocations: 0.9174 MB / 1.444 GB, free: 11.33 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.6119, allocations: 1.593 MB / 1.445 GB, free: 9.43 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003657/0.6156, allocations: 2.741 MB / 1.448 GB, free: 6.375 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.6156, allocations: 4 kB / 1.448 GB, free: 6.371 MB / 1.154 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006472/0.6221, allocations: 3.512 MB / 1.451 GB, free: 2.812 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.6221, allocations: 16 kB / 1.451 GB, free: 2.797 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.6221, allocations: 24 kB / 1.451 GB, free: 2.773 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002691/0.6248, allocations: 0.908 MB / 1.452 GB, free: 1.828 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.626, allocations: 351.4 kB / 1.453 GB, free: 1.484 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02343/0.6494, allocations: 21.87 MB / 1.474 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.6511, allocations: 112 kB / 1.474 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.6512, allocations: 80 kB / 1.474 GB, free: 10.05 MB / 1.186 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002626/0.6538, allocations: 1.613 MB / 1.476 GB, free: 8.422 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003939/0.6542, allocations: 214.6 kB / 1.476 GB, free: 8.211 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005602/0.6598, allocations: 2.967 MB / 1.479 GB, free: 5.195 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.6598, allocations: 15.94 kB / 1.479 GB, free: 5.18 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.6598, allocations: 12 kB / 1.479 GB, free: 5.168 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.6599, allocations: 7.984 kB / 1.479 GB, free: 5.16 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.6729, allocations: 7.285 MB / 1.486 GB, free: 13.65 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.6729, allocations: 8 kB / 1.486 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008045/0.6737, allocations: 175.7 kB / 1.486 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002484/0.6762, allocations: 0.826 MB / 1.487 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.677e-05/0.6763, allocations: 24 kB / 1.487 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02189/0.6982, allocations: 20.73 MB / 1.507 GB, free: 6.473 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.6982, allocations: 7.938 kB / 1.507 GB, free: 6.465 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005508/0.7037, allocations: 3.011 MB / 1.51 GB, free: 3.34 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.7048, allocations: 398.5 kB / 1.511 GB, free: 2.949 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/0.705, allocations: 31.88 kB / 1.511 GB, free: 2.918 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000779/0.7058, allocations: 71.91 kB / 1.511 GB, free: 2.848 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003579/0.7061, allocations: 136.6 kB / 1.511 GB, free: 2.711 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.173e-05/0.7062, allocations: 36 kB / 1.511 GB, free: 2.676 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001433/0.7077, allocations: 0.9756 MB / 1.512 GB, free: 1.676 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7077, allocations: 0 / 1.512 GB, free: 1.676 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002647/0.7103, allocations: 0.7891 MB / 1.513 GB, free: 0.8867 MB / 1.217 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002418/0.7105, allocations: 139.1 kB / 1.513 GB, free: 0.7422 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006169/0.7167, allocations: 3.918 MB / 1.517 GB, free: 12.68 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.7167, allocations: 12 kB / 1.517 GB, free: 12.66 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004041/0.7208, allocations: 2.654 MB / 1.519 GB, free: 9.852 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/0.7239, allocations: 0.7477 MB / 1.52 GB, free: 9.129 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.7367, allocations: 7.355 MB / 1.527 GB, free: 1.676 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003846/0.7406, allocations: 3.109 MB / 1.53 GB, free: 14.54 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001467/0.742, allocations: 461.9 kB / 1.531 GB, free: 14.09 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.7424, allocations: 111.4 kB / 1.531 GB, free: 13.98 MB / 1.248 GB Notification: Performance of SimCode: time 7.91e-07/0.7424, allocations: 0 / 1.531 GB, free: 13.98 MB / 1.248 GB Notification: Performance of Templates: time 0.7023/1.445, allocations: 37.94 MB / 1.568 GB, free: 253.8 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.606792975682765]