Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001744/0.001744, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002045/0.002045, allocations: 216.3 kB / 23.01 MB, free: 4.969 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.302/3.302, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.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_12_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_12_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.002049/0.002049, allocations: 62.92 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3736, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01383/0.3875, allocations: 10.34 MB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.4034, allocations: 8.511 MB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.4054, allocations: 87.25 kB / 1.346 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005005/0.4104, allocations: 1.672 MB / 1.347 GB, free: 12.28 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006185/0.4166, allocations: 1.564 MB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.4189, allocations: 0.6778 MB / 1.349 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003902/0.4228, allocations: 2.279 MB / 1.352 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001995/0.4248, allocations: 1.16 MB / 1.353 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.427, allocations: 1.188 MB / 1.354 GB, free: 5.355 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.4288, allocations: 0.9998 MB / 1.355 GB, free: 4.352 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.4291, allocations: 136 kB / 1.355 GB, free: 4.219 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.4307, allocations: 0.7408 MB / 1.356 GB, free: 3.477 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006711/0.4314, allocations: 0.5724 MB / 1.356 GB, free: 2.902 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000931/0.4323, allocations: 0.7153 MB / 1.357 GB, free: 2.184 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003538/0.4359, allocations: 2.58 MB / 1.36 GB, free: 15.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4359, allocations: 0 / 1.36 GB, free: 15.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4359, allocations: 4 kB / 1.36 GB, free: 15.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.113e-05/0.4359, allocations: 0 / 1.36 GB, free: 15.59 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.00361/0.4395, allocations: 1.983 MB / 1.361 GB, free: 13.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4396, allocations: 8.031 kB / 1.361 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.4508, allocations: 2.051 MB / 1.363 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.4536, allocations: 1.126 MB / 1.365 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.191e-05/0.4537, allocations: 86.69 kB / 1.365 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/0.454, allocations: 116.1 kB / 1.365 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005701/0.4597, allocations: 2.701 MB / 1.367 GB, free: 7.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.4597, allocations: 11.94 kB / 1.367 GB, free: 7.219 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.4599, allocations: 51.94 kB / 1.367 GB, free: 7.168 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003552/0.4603, allocations: 126.1 kB / 1.368 GB, free: 7.043 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007058/0.4673, allocations: 2.541 MB / 1.37 GB, free: 4.492 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/0.4812, allocations: 7.476 MB / 1.377 GB, free: 12.85 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006158/0.4873, allocations: 1.834 MB / 1.379 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002887/0.4902, allocations: 0.9503 MB / 1.38 GB, free: 10.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.4904, allocations: 4.438 kB / 1.38 GB, free: 10.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/0.4904, allocations: 50.92 kB / 1.38 GB, free: 9.984 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 3.346e-06/0.4904, allocations: 0 / 1.38 GB, free: 9.984 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03846/0.5289, allocations: 9.102 MB / 1.389 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.5289, allocations: 60.06 kB / 1.389 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.5311, allocations: 0.9632 MB / 1.39 GB, free: 15.79 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002486/0.5314, allocations: 37.7 kB / 1.39 GB, free: 15.75 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000925/0.5323, allocations: 0.7619 MB / 1.391 GB, free: 14.98 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005252/0.5328, allocations: 297.4 kB / 1.391 GB, free: 14.68 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006695/0.5335, allocations: 202.5 kB / 1.391 GB, free: 14.48 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0003184/0.5338, allocations: 349.9 kB / 1.392 GB, free: 14.13 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004533/0.5383, allocations: 1.087 MB / 1.393 GB, free: 13.04 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004832/0.5432, allocations: 1.313 MB / 1.394 GB, free: 11.64 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009339/0.5525, allocations: 2.401 MB / 1.396 GB, free: 9.141 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.5525, allocations: 4 kB / 1.396 GB, free: 9.137 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01376/0.5663, allocations: 3.273 MB / 1.4 GB, free: 5.824 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.5663, allocations: 13.66 kB / 1.4 GB, free: 5.812 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.5663, allocations: 4 kB / 1.4 GB, free: 5.809 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004794/0.5711, allocations: 0.8582 MB / 1.4 GB, free: 4.926 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/0.5739, allocations: 423.2 kB / 1.401 GB, free: 4.512 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0271/0.601, allocations: 15.02 MB / 1.415 GB, free: 4.676 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/0.6044, allocations: 291.5 kB / 1.416 GB, free: 4.391 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003374/0.6048, allocations: 51.97 kB / 1.416 GB, free: 4.34 MB / 1.107 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.001472/0.6063, allocations: 409.4 kB / 1.416 GB, free: 3.93 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005906/0.6068, allocations: 135.2 kB / 1.416 GB, free: 3.797 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/0.6207, allocations: 3.208 MB / 1.419 GB, free: 0.543 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/0.6208, allocations: 3.984 kB / 1.419 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.6208, allocations: 0 / 1.419 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/0.6223, allocations: 306.9 kB / 1.42 GB, free: 244 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005496/0.6229, allocations: 15.94 kB / 1.42 GB, free: 228 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/0.6258, allocations: 287.5 kB / 1.42 GB, free: 15.94 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004528/0.6262, allocations: 92.44 kB / 1.42 GB, free: 15.85 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01632/0.6425, allocations: 3.516 MB / 1.424 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01466/0.6572, allocations: 3.653 MB / 1.427 GB, free: 8.633 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004519/0.6617, allocations: 1.125 MB / 1.428 GB, free: 7.508 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001844/0.6636, allocations: 0.6307 MB / 1.429 GB, free: 6.871 MB / 1.123 GB Notification: Performance of Backend: time 6.22e-07/0.6636, allocations: 0 / 1.429 GB, free: 6.871 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01121/0.6748, allocations: 2.969 MB / 1.432 GB, free: 3.789 MB / 1.123 GB Notification: Performance of SimCode: time 0.007161/0.6819, allocations: 3.643 MB / 1.435 GB, free: 116 kB / 1.123 GB Notification: Performance of Templates: time 0.06967/0.7516, allocations: 41.27 MB / 1.476 GB, free: 7.488 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.260491770000954]