Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001769/0.001769, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002523/0.002523, allocations: 209.8 kB / 23 MB, free: 4.934 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.283/3.283, allocations: 0.49 GB / 0.7959 GB, free: 35.72 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [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.002029/0.002029, allocations: 68.73 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3928, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008489/0.4013, allocations: 5.368 MB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005193/0.4065, allocations: 2.635 MB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005466/0.407, allocations: 31.69 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.4091, allocations: 0.6869 MB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.4103, allocations: 421.7 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.4114, allocations: 414 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001218/0.4127, allocations: 0.9594 MB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006027/0.4133, allocations: 386.4 kB / 1.338 GB, free: 6.078 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005767/0.4138, allocations: 398.5 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006011/0.4144, allocations: 430.4 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.212e-05/0.4145, allocations: 48 kB / 1.339 GB, free: 5.219 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006812/0.4152, allocations: 335.2 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.4155, allocations: 251.2 kB / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003211/0.4158, allocations: 286.7 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.4171, allocations: 0.9844 MB / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4171, allocations: 3.938 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4171, allocations: 4 kB / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.4171, allocations: 0 / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001767/0.4189, allocations: 0.917 MB / 1.341 GB, free: 2.418 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4189, allocations: 8.031 kB / 1.341 GB, free: 2.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.4204, allocations: 200.3 kB / 1.341 GB, free: 2.215 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009944/0.4214, allocations: 464.9 kB / 1.342 GB, free: 1.734 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.4214, allocations: 37.38 kB / 1.342 GB, free: 1.699 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.4216, allocations: 64.5 kB / 1.342 GB, free: 1.637 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.423, allocations: 0.9863 MB / 1.343 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.423, allocations: 3.984 kB / 1.343 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.937e-05/0.4231, allocations: 20 kB / 1.343 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002108/0.4233, allocations: 68.95 kB / 1.343 GB, free: 448 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009687/0.4243, allocations: 0.5658 MB / 1.344 GB, free: 15.87 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004474/0.4287, allocations: 3.507 MB / 1.347 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.4293, allocations: 267.3 kB / 1.347 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.4296, allocations: 213.3 kB / 1.347 GB, free: 11.76 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.4296, allocations: 8.219 kB / 1.347 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.4297, allocations: 34.84 kB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.495e-06/0.4297, allocations: 0 / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005901/0.4356, allocations: 2.334 MB / 1.35 GB, free: 9.32 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.4356, allocations: 55.41 kB / 1.35 GB, free: 9.254 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005782/0.4362, allocations: 437.7 kB / 1.35 GB, free: 8.816 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.4362, allocations: 33.7 kB / 1.35 GB, free: 8.777 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.4366, allocations: 364.3 kB / 1.351 GB, free: 8.414 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.4367, allocations: 142.8 kB / 1.351 GB, free: 8.273 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.4369, allocations: 106.2 kB / 1.351 GB, free: 8.164 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.4371, allocations: 366.7 kB / 1.351 GB, free: 7.797 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.4375, allocations: 237.2 kB / 1.351 GB, free: 7.566 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.4381, allocations: 407.3 kB / 1.352 GB, free: 7.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009708/0.439, allocations: 0.674 MB / 1.352 GB, free: 6.344 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.439, allocations: 0 / 1.352 GB, free: 6.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001866/0.4409, allocations: 0.9175 MB / 1.353 GB, free: 5.41 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.4409, allocations: 8 kB / 1.353 GB, free: 5.402 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4409, allocations: 4 kB / 1.353 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008861/0.4418, allocations: 238.6 kB / 1.354 GB, free: 5.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.4424, allocations: 111.8 kB / 1.354 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/0.4482, allocations: 4.942 MB / 1.359 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.4487, allocations: 27.97 kB / 1.359 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.4487, allocations: 27.98 kB / 1.359 GB, free: 15.74 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003754/0.4491, allocations: 228.9 kB / 1.359 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4492, allocations: 55.61 kB / 1.359 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.4509, allocations: 0.7655 MB / 1.36 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.4509, allocations: 0 / 1.36 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4509, allocations: 4 kB / 1.36 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.4511, allocations: 99.55 kB / 1.36 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/0.4512, allocations: 4 kB / 1.36 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.4515, allocations: 23.97 kB / 1.36 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.4516, allocations: 35.92 kB / 1.36 GB, free: 14.51 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002027/0.4536, allocations: 0.8579 MB / 1.361 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001305/0.4549, allocations: 0.9486 MB / 1.362 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003467/0.4553, allocations: 232.3 kB / 1.362 GB, free: 12.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003619/0.4557, allocations: 290.9 kB / 1.362 GB, free: 12.16 MB / 1.061 GB Notification: Performance of Backend: time 6.31e-07/0.4557, allocations: 4 kB / 1.362 GB, free: 12.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002342/0.458, allocations: 1.03 MB / 1.363 GB, free: 11.08 MB / 1.061 GB Notification: Performance of SimCode: time 0.002717/0.4607, allocations: 1.801 MB / 1.365 GB, free: 9.238 MB / 1.061 GB Notification: Performance of Templates: time 0.02225/0.483, allocations: 12.4 MB / 1.377 GB, free: 13.04 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.404692584997974]