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.001664/0.001664, 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.001737/0.001737, allocations: 199.5 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.433/1.433, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.744/2.744, allocations: 476.7 MB / 0.7645 GB, free: 10.04 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.002872/0.002872, allocations: 63.89 kB / 1.109 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7672/0.7701, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04389/0.814, allocations: 34.27 MB / 1.308 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01956/0.8335, allocations: 10.65 MB / 1.318 GB, free: 7.465 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003376/0.8369, allocations: 151.2 kB / 1.318 GB, free: 7.316 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01063/0.8475, allocations: 3.863 MB / 1.322 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006731/0.8543, allocations: 1.952 MB / 1.324 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006804/0.8611, allocations: 2.189 MB / 1.326 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01135/0.8724, allocations: 7.325 MB / 1.333 GB, free: 7.957 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/0.883, allocations: 4.808 MB / 1.338 GB, free: 3.027 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005967/0.889, allocations: 3.233 MB / 1.341 GB, free: 15.79 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00692/0.8959, allocations: 3.676 MB / 1.344 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002153/0.8981, allocations: 0.6484 MB / 1.345 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004812/0.9029, allocations: 1.806 MB / 1.347 GB, free: 9.641 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004579/0.9075, allocations: 2.615 MB / 1.349 GB, free: 7.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00649/0.9139, allocations: 2.894 MB / 1.352 GB, free: 4.113 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01634/0.9303, allocations: 10.13 MB / 1.362 GB, free: 9.949 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.9303, allocations: 0 / 1.362 GB, free: 9.949 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9303, allocations: 0 / 1.362 GB, free: 9.949 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003088/0.9306, allocations: 4 kB / 1.362 GB, free: 9.945 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.01483/0.9454, allocations: 5.124 MB / 1.367 GB, free: 4.742 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.9455, allocations: 12.03 kB / 1.367 GB, free: 4.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006107/0.9516, allocations: 0.9774 MB / 1.368 GB, free: 3.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007778/0.9594, allocations: 3.059 MB / 1.371 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003247/0.9597, allocations: 341.7 kB / 1.371 GB, free: 304 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001403/0.9611, allocations: 464.3 kB / 1.372 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.9759, allocations: 7.671 MB / 1.379 GB, free: 7.824 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.976, allocations: 27.78 kB / 1.379 GB, free: 7.797 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005559/0.9765, allocations: 204 kB / 1.38 GB, free: 7.598 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003859/0.9769, allocations: 312.9 kB / 1.38 GB, free: 7.289 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/0.9882, allocations: 5.71 MB / 1.385 GB, free: 1.562 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04034/1.029, allocations: 34.88 MB / 1.42 GB, free: 11.48 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/1.031, allocations: 2.017 MB / 1.422 GB, free: 9.348 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/1.033, allocations: 1.12 MB / 1.423 GB, free: 8.23 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.451e-05/1.033, allocations: 21.3 kB / 1.423 GB, free: 8.207 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/1.033, allocations: 47.81 kB / 1.423 GB, free: 8.152 MB / 1.123 GB Notification: Performance of pre-optimization done (n=133): time 3.136e-06/1.033, allocations: 0 / 1.423 GB, free: 8.152 MB / 1.123 GB Notification: Performance of matching and sorting (n=136): time 0.0147/1.048, allocations: 7.118 MB / 1.43 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/1.048, allocations: 64.72 kB / 1.43 GB, free: 0.6953 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/1.05, allocations: 1.492 MB / 1.431 GB, free: 15.16 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/1.05, allocations: 49.7 kB / 1.431 GB, free: 15.1 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001521/1.052, allocations: 2.069 MB / 1.433 GB, free: 13.01 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004911/1.052, allocations: 0.4958 MB / 1.434 GB, free: 12.51 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005422/1.053, allocations: 355.4 kB / 1.434 GB, free: 12.16 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.053, allocations: 301.1 kB / 1.434 GB, free: 11.86 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/1.054, allocations: 0.9096 MB / 1.435 GB, free: 10.95 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/1.056, allocations: 1.589 MB / 1.437 GB, free: 9.051 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004014/1.06, allocations: 2.749 MB / 1.439 GB, free: 5.988 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/1.06, allocations: 4 kB / 1.439 GB, free: 5.984 MB / 1.139 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006568/1.067, allocations: 3.504 MB / 1.443 GB, free: 2.434 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/1.067, allocations: 18.03 kB / 1.443 GB, free: 2.418 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/1.067, allocations: 24.09 kB / 1.443 GB, free: 2.395 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/1.07, allocations: 0.9076 MB / 1.444 GB, free: 1.449 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/1.071, allocations: 347.4 kB / 1.444 GB, free: 1.109 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02389/1.095, allocations: 23.11 MB / 1.467 GB, free: 8.316 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/1.096, allocations: 107.9 kB / 1.467 GB, free: 8.211 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/1.096, allocations: 84 kB / 1.467 GB, free: 8.129 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.002708/1.099, allocations: 1.617 MB / 1.468 GB, free: 6.5 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004289/1.1, allocations: 214.6 kB / 1.469 GB, free: 6.289 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005562/1.105, allocations: 2.967 MB / 1.472 GB, free: 3.273 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/1.105, allocations: 12 kB / 1.472 GB, free: 3.262 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/1.105, allocations: 8 kB / 1.472 GB, free: 3.254 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/1.105, allocations: 11.97 kB / 1.472 GB, free: 3.242 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/1.119, allocations: 7.309 MB / 1.479 GB, free: 11.7 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.119, allocations: 4 kB / 1.479 GB, free: 11.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008472/1.12, allocations: 175.7 kB / 1.479 GB, free: 11.53 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002524/1.122, allocations: 0.8303 MB / 1.48 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/1.122, allocations: 28 kB / 1.48 GB, free: 10.63 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02279/1.145, allocations: 21.97 MB / 1.501 GB, free: 2.984 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/1.145, allocations: 7.938 kB / 1.501 GB, free: 2.977 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00547/1.151, allocations: 3.007 MB / 1.504 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/1.152, allocations: 471.6 kB / 1.505 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/1.152, allocations: 35.92 kB / 1.505 GB, free: 15.34 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008318/1.153, allocations: 67.92 kB / 1.505 GB, free: 15.27 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/1.153, allocations: 128.7 kB / 1.505 GB, free: 15.14 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.344e-05/1.153, allocations: 39.94 kB / 1.505 GB, free: 15.11 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001358/1.155, allocations: 0.9795 MB / 1.506 GB, free: 14.1 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.155, allocations: 0 / 1.506 GB, free: 14.1 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002622/1.157, allocations: 0.793 MB / 1.507 GB, free: 13.31 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.0002509/1.157, allocations: 139.5 kB / 1.507 GB, free: 13.16 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006036/1.163, allocations: 3.917 MB / 1.511 GB, free: 9.094 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.163, allocations: 0 / 1.511 GB, free: 9.094 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003955/1.167, allocations: 2.67 MB / 1.513 GB, free: 6.27 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/1.171, allocations: 0.7308 MB / 1.514 GB, free: 5.566 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.183, allocations: 7.35 MB / 1.521 GB, free: 14.12 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003504/1.187, allocations: 3.113 MB / 1.524 GB, free: 10.98 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001323/1.188, allocations: 457.9 kB / 1.525 GB, free: 10.53 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/1.188, allocations: 119.4 kB / 1.525 GB, free: 10.41 MB / 1.232 GB Notification: Performance of SimCode: time 1.082e-06/1.188, allocations: 0 / 1.525 GB, free: 10.41 MB / 1.232 GB Notification: Performance of Templates: time 0.06745/1.256, allocations: 37.35 MB / 1.561 GB, free: 5.477 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 cvode -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: 9.783553407061845]