Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.001339/0.001339, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001535/0.001535, allocations: 219 kB / 23.01 MB, free: 4.609 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.191/3.191, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.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.002087/0.002087, allocations: 71.72 kB / 1.178 GB, free: 16.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 180.2 MB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01382/0.3684, allocations: 11.34 MB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.382, allocations: 9.142 MB / 1.374 GB, free: 3.398 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009922/0.383, allocations: 87.25 kB / 1.374 GB, free: 3.312 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00418/0.3872, allocations: 1.743 MB / 1.376 GB, free: 1.566 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003736/0.3909, allocations: 1.575 MB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.3925, allocations: 0.6805 MB / 1.378 GB, free: 15.31 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002513/0.395, allocations: 2.287 MB / 1.38 GB, free: 13.01 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.3965, allocations: 1.16 MB / 1.381 GB, free: 11.82 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.3981, allocations: 1.18 MB / 1.383 GB, free: 10.63 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.3993, allocations: 0.9921 MB / 1.384 GB, free: 9.637 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.3995, allocations: 136 kB / 1.384 GB, free: 9.504 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.4009, allocations: 0.8188 MB / 1.384 GB, free: 8.684 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005259/0.4014, allocations: 0.5802 MB / 1.385 GB, free: 8.102 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008228/0.4022, allocations: 0.8784 MB / 1.386 GB, free: 7.219 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.4049, allocations: 2.557 MB / 1.388 GB, free: 4.652 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4049, allocations: 4 kB / 1.388 GB, free: 4.648 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4049, allocations: 0 / 1.388 GB, free: 4.648 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.688e-05/0.4049, allocations: 0 / 1.388 GB, free: 4.648 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003147/0.408, allocations: 1.995 MB / 1.39 GB, free: 2.613 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4081, allocations: 8.031 kB / 1.39 GB, free: 2.605 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.4186, allocations: 2.059 MB / 1.392 GB, free: 0.543 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.4208, allocations: 1.12 MB / 1.393 GB, free: 15.37 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/0.4208, allocations: 78.7 kB / 1.394 GB, free: 15.29 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.421, allocations: 118 kB / 1.394 GB, free: 15.18 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005256/0.4263, allocations: 2.446 MB / 1.396 GB, free: 12.6 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/0.4263, allocations: 15.89 kB / 1.396 GB, free: 12.58 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.4265, allocations: 51.98 kB / 1.396 GB, free: 12.53 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003308/0.4268, allocations: 126.1 kB / 1.396 GB, free: 12.41 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006878/0.4337, allocations: 2.549 MB / 1.399 GB, free: 9.848 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/0.447, allocations: 9.973 MB / 1.408 GB, free: 15.23 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005869/0.4528, allocations: 1.85 MB / 1.41 GB, free: 13.37 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002659/0.4555, allocations: 0.9464 MB / 1.411 GB, free: 12.42 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.4555, allocations: 8.422 kB / 1.411 GB, free: 12.41 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.4556, allocations: 43 kB / 1.411 GB, free: 12.36 MB / 1.107 GB Notification: Performance of pre-optimization done (n=53): time 3.467e-06/0.4556, allocations: 0 / 1.411 GB, free: 12.36 MB / 1.107 GB Notification: Performance of matching and sorting (n=81): time 0.03068/0.4863, allocations: 9.121 MB / 1.42 GB, free: 3.195 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.4863, allocations: 60.06 kB / 1.42 GB, free: 3.121 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.4878, allocations: 1.097 MB / 1.421 GB, free: 2.008 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.567e-05/0.4879, allocations: 41.7 kB / 1.421 GB, free: 1.961 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006098/0.4885, allocations: 0.759 MB / 1.422 GB, free: 1.195 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.4888, allocations: 289.5 kB / 1.422 GB, free: 0.9102 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/0.4892, allocations: 198.5 kB / 1.423 GB, free: 0.707 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4893, allocations: 341.9 kB / 1.423 GB, free: 376 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002865/0.4922, allocations: 1.087 MB / 1.424 GB, free: 15.28 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/0.4953, allocations: 1.317 MB / 1.425 GB, free: 13.87 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005956/0.5012, allocations: 2.405 MB / 1.428 GB, free: 11.37 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5012, allocations: 0 / 1.428 GB, free: 11.37 MB / 1.123 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008763/0.51, allocations: 3.292 MB / 1.431 GB, free: 8.043 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.51, allocations: 8 kB / 1.431 GB, free: 8.035 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.51, allocations: 4 kB / 1.431 GB, free: 8.031 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003066/0.5131, allocations: 0.8582 MB / 1.432 GB, free: 7.148 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.515, allocations: 419.3 kB / 1.432 GB, free: 6.738 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/0.5322, allocations: 15.34 MB / 1.447 GB, free: 6.477 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.5346, allocations: 295.5 kB / 1.447 GB, free: 6.188 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.5347, allocations: 56.02 kB / 1.447 GB, free: 6.133 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,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.0007825/0.5355, allocations: 402 kB / 1.448 GB, free: 5.73 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.5357, allocations: 151.1 kB / 1.448 GB, free: 5.582 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008689/0.5444, allocations: 3.214 MB / 1.451 GB, free: 2.328 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.5444, allocations: 8 kB / 1.451 GB, free: 2.32 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.5444, allocations: 8 kB / 1.451 GB, free: 2.312 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5444, allocations: 3.984 kB / 1.451 GB, free: 2.309 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.556, allocations: 4.912 MB / 1.456 GB, free: 13.28 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.556, allocations: 7.938 kB / 1.456 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.5575, allocations: 355.7 kB / 1.456 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002621/0.5602, allocations: 0.7678 MB / 1.457 GB, free: 12.13 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-05/0.5603, allocations: 35.95 kB / 1.457 GB, free: 12.1 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/0.5762, allocations: 14.94 MB / 1.472 GB, free: 12.24 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.5762, allocations: 7.969 kB / 1.472 GB, free: 12.23 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00788/0.584, allocations: 3.056 MB / 1.475 GB, free: 9.094 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009783/0.585, allocations: 314.8 kB / 1.475 GB, free: 8.785 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.5852, allocations: 20 kB / 1.475 GB, free: 8.766 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/0.587, allocations: 291.5 kB / 1.475 GB, free: 8.48 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/0.5873, allocations: 88.38 kB / 1.475 GB, free: 8.395 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.593e-05/0.5874, allocations: 39.97 kB / 1.475 GB, free: 8.355 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00106/0.5884, allocations: 0.7366 MB / 1.476 GB, free: 7.617 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5884, allocations: 7.938 kB / 1.476 GB, free: 7.609 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001605/0.59, allocations: 444 kB / 1.476 GB, free: 7.176 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,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.0002762/0.5903, allocations: 131.1 kB / 1.477 GB, free: 7.039 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00804/0.5983, allocations: 3.55 MB / 1.48 GB, free: 3.383 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.5983, allocations: 0 / 1.48 GB, free: 3.383 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004725/0.6031, allocations: 2.328 MB / 1.482 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.6052, allocations: 0.5354 MB / 1.483 GB, free: 448 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00885/0.6141, allocations: 3.907 MB / 1.487 GB, free: 12.46 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.6153, allocations: 1.396 MB / 1.488 GB, free: 11.04 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/0.6158, allocations: 131.3 kB / 1.488 GB, free: 10.91 MB / 1.186 GB Notification: Performance of SimCode: time 9.82e-07/0.6158, allocations: 0 / 1.488 GB, free: 10.91 MB / 1.186 GB Notification: Performance of Templates: time 0.0845/0.7003, allocations: 75.26 MB / 1.562 GB, free: 15.7 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.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: 18.69955800101161]