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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 201.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.891/2.891, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 71.88 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7824/0.7844, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04546/0.8299, allocations: 34.28 MB / 1.308 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01894/0.8488, allocations: 10.65 MB / 1.318 GB, free: 7.496 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003642/0.8525, allocations: 151.2 kB / 1.318 GB, free: 7.348 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01043/0.8629, allocations: 3.858 MB / 1.322 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005913/0.8688, allocations: 1.944 MB / 1.324 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006043/0.8749, allocations: 2.199 MB / 1.326 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01/0.8849, allocations: 7.321 MB / 1.333 GB, free: 7.988 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008147/0.893, allocations: 4.808 MB / 1.338 GB, free: 3.059 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005863/0.8989, allocations: 3.233 MB / 1.341 GB, free: 15.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00655/0.9054, allocations: 3.672 MB / 1.344 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001944/0.9074, allocations: 0.6484 MB / 1.345 GB, free: 11.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004486/0.9119, allocations: 1.81 MB / 1.347 GB, free: 9.672 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004265/0.9161, allocations: 2.607 MB / 1.349 GB, free: 7.059 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.006121/0.9222, allocations: 2.898 MB / 1.352 GB, free: 4.148 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.9366, allocations: 10.14 MB / 1.362 GB, free: 9.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.9366, allocations: 0 / 1.362 GB, free: 9.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9366, allocations: 4 kB / 1.362 GB, free: 9.977 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003064/0.9369, allocations: 0 / 1.362 GB, free: 9.977 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0135/0.9504, allocations: 5.116 MB / 1.367 GB, free: 4.781 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.9504, allocations: 8.031 kB / 1.367 GB, free: 4.773 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005907/0.9563, allocations: 0.9813 MB / 1.368 GB, free: 3.789 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007585/0.9639, allocations: 3.055 MB / 1.371 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/0.9642, allocations: 353.7 kB / 1.371 GB, free: 336 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/0.9657, allocations: 460.3 kB / 1.372 GB, free: 15.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01657/0.9823, allocations: 7.671 MB / 1.379 GB, free: 7.859 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001754/0.9825, allocations: 31.78 kB / 1.379 GB, free: 7.828 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008188/0.9833, allocations: 196 kB / 1.38 GB, free: 7.637 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003727/0.9837, allocations: 309 kB / 1.38 GB, free: 7.332 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01216/0.9958, allocations: 5.714 MB / 1.385 GB, free: 1.602 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04321/1.039, allocations: 34.89 MB / 1.42 GB, free: 11.52 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/1.042, allocations: 2.012 MB / 1.422 GB, free: 9.387 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/1.044, allocations: 1.128 MB / 1.423 GB, free: 8.262 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-05/1.044, allocations: 17.31 kB / 1.423 GB, free: 8.242 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/1.044, allocations: 43.88 kB / 1.423 GB, free: 8.191 MB / 1.123 GB Notification: Performance of pre-optimization done (n=133): time 3.156e-06/1.044, allocations: 0 / 1.423 GB, free: 8.191 MB / 1.123 GB Notification: Performance of matching and sorting (n=136): time 0.01501/1.059, allocations: 7.122 MB / 1.43 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/1.059, allocations: 68.7 kB / 1.43 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/1.061, allocations: 1.484 MB / 1.431 GB, free: 15.19 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/1.061, allocations: 45.7 kB / 1.431 GB, free: 15.14 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001486/1.063, allocations: 2.073 MB / 1.433 GB, free: 13.05 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005112/1.063, allocations: 0.4997 MB / 1.434 GB, free: 12.55 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005268/1.064, allocations: 347.4 kB / 1.434 GB, free: 12.2 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.064, allocations: 305.1 kB / 1.434 GB, free: 11.9 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/1.065, allocations: 0.9096 MB / 1.435 GB, free: 10.99 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/1.067, allocations: 1.597 MB / 1.437 GB, free: 9.082 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003575/1.071, allocations: 2.729 MB / 1.439 GB, free: 6.039 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/1.071, allocations: 8 kB / 1.439 GB, free: 6.031 MB / 1.139 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006715/1.077, allocations: 3.508 MB / 1.443 GB, free: 2.477 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/1.078, allocations: 16 kB / 1.443 GB, free: 2.461 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.392e-05/1.078, allocations: 27.94 kB / 1.443 GB, free: 2.434 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002676/1.08, allocations: 0.9122 MB / 1.444 GB, free: 1.484 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/1.081, allocations: 347.4 kB / 1.444 GB, free: 1.145 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02449/1.106, allocations: 23.12 MB / 1.467 GB, free: 8.352 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/1.108, allocations: 104 kB / 1.467 GB, free: 8.25 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/1.108, allocations: 84 kB / 1.467 GB, free: 8.168 MB / 1.17 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.003247/1.111, allocations: 1.613 MB / 1.468 GB, free: 6.543 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000549/1.112, allocations: 214.6 kB / 1.469 GB, free: 6.332 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005518/1.117, allocations: 2.963 MB / 1.472 GB, free: 3.32 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/1.117, allocations: 12 kB / 1.472 GB, free: 3.309 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/1.117, allocations: 12 kB / 1.472 GB, free: 3.297 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/1.117, allocations: 7.969 kB / 1.472 GB, free: 3.289 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/1.13, allocations: 7.321 MB / 1.479 GB, free: 11.74 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.13, allocations: 4 kB / 1.479 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008311/1.131, allocations: 179.7 kB / 1.479 GB, free: 11.56 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00247/1.134, allocations: 0.8299 MB / 1.48 GB, free: 10.69 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/1.134, allocations: 24 kB / 1.48 GB, free: 10.67 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02181/1.156, allocations: 21.96 MB / 1.501 GB, free: 3.023 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/1.156, allocations: 4 kB / 1.501 GB, free: 3.02 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005615/1.161, allocations: 3.018 MB / 1.504 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.162, allocations: 471.6 kB / 1.505 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/1.163, allocations: 27.94 kB / 1.505 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000819/1.164, allocations: 75.91 kB / 1.505 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003546/1.164, allocations: 124.7 kB / 1.505 GB, free: 15.18 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.613e-05/1.164, allocations: 40 kB / 1.505 GB, free: 15.14 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001428/1.165, allocations: 0.9756 MB / 1.506 GB, free: 14.14 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.165, allocations: 0 / 1.506 GB, free: 14.14 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003011/1.168, allocations: 0.7852 MB / 1.507 GB, free: 13.36 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.0003124/1.169, allocations: 147.5 kB / 1.507 GB, free: 13.2 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006361/1.175, allocations: 3.914 MB / 1.511 GB, free: 9.129 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.175, allocations: 0 / 1.511 GB, free: 9.129 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00402/1.179, allocations: 2.674 MB / 1.513 GB, free: 6.301 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/1.183, allocations: 0.723 MB / 1.514 GB, free: 5.598 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/1.196, allocations: 7.364 MB / 1.521 GB, free: 14.14 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003896/1.2, allocations: 3.109 MB / 1.524 GB, free: 11.01 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001411/1.201, allocations: 450 kB / 1.524 GB, free: 10.57 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/1.202, allocations: 127.4 kB / 1.525 GB, free: 10.44 MB / 1.232 GB Notification: Performance of SimCode: time 1.202e-06/1.202, allocations: 3.938 kB / 1.525 GB, free: 10.44 MB / 1.232 GB Notification: Performance of Templates: time 0.06965/1.271, allocations: 37.35 MB / 1.561 GB, free: 5.508 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.083286690991372]