Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001757/0.001757, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.001756/0.001756, allocations: 207.9 kB / 23 MB, free: 4.965 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.31/3.31, allocations: 0.49 GB / 0.7959 GB, free: 35.6 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_L,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_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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_L") [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.002073/0.002073, allocations: 66.38 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3745, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008882/0.3833, allocations: 5.923 MB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006821/0.3902, allocations: 3.13 MB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006588/0.3908, allocations: 43.62 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.3937, allocations: 0.9343 MB / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.3952, allocations: 489.6 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.3965, allocations: 490.8 kB / 1.338 GB, free: 6.016 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001516/0.398, allocations: 1.096 MB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009398/0.3989, allocations: 0.514 MB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00089/0.3998, allocations: 458.3 kB / 1.34 GB, free: 3.941 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000734/0.4006, allocations: 0.4904 MB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.637e-05/0.4007, allocations: 56 kB / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.4017, allocations: 447 kB / 1.341 GB, free: 2.957 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003602/0.402, allocations: 291.1 kB / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004283/0.4025, allocations: 342.4 kB / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.4041, allocations: 1.179 MB / 1.343 GB, free: 1.152 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4041, allocations: 0 / 1.343 GB, free: 1.152 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4041, allocations: 0 / 1.343 GB, free: 1.152 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.4042, allocations: 0 / 1.343 GB, free: 1.152 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001762/0.4059, allocations: 1.003 MB / 1.344 GB, free: 116 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.406, allocations: 12.03 kB / 1.344 GB, free: 104 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.4076, allocations: 224.1 kB / 1.344 GB, free: 15.88 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.4087, allocations: 0.5049 MB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/0.4087, allocations: 57.59 kB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.4088, allocations: 68.31 kB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.4104, allocations: 1.13 MB / 1.345 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.4105, allocations: 7.938 kB / 1.345 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.16e-05/0.4105, allocations: 27.98 kB / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.993e-05/0.4106, allocations: 73.28 kB / 1.346 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.4117, allocations: 0.6879 MB / 1.346 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005005/0.4168, allocations: 4.409 MB / 1.351 GB, free: 8.605 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/0.4176, allocations: 406.1 kB / 1.351 GB, free: 8.199 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008067/0.4184, allocations: 396.1 kB / 1.351 GB, free: 7.812 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.4184, allocations: 8 kB / 1.351 GB, free: 7.805 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.4184, allocations: 34.56 kB / 1.351 GB, free: 7.762 MB / 1.045 GB Notification: Performance of pre-optimization done (n=41): time 2.365e-06/0.4184, allocations: 0 / 1.351 GB, free: 7.762 MB / 1.045 GB Notification: Performance of matching and sorting (n=42): time 0.004433/0.4229, allocations: 1.703 MB / 1.353 GB, free: 6.039 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.4229, allocations: 59.34 kB / 1.353 GB, free: 5.969 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/0.4234, allocations: 433.8 kB / 1.353 GB, free: 5.535 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.4234, allocations: 33.7 kB / 1.354 GB, free: 5.496 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.4238, allocations: 399.9 kB / 1.354 GB, free: 5.098 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.4239, allocations: 154.7 kB / 1.354 GB, free: 4.945 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.4241, allocations: 110.2 kB / 1.354 GB, free: 4.832 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.4243, allocations: 366.8 kB / 1.354 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.4246, allocations: 241.1 kB / 1.355 GB, free: 4.227 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.4252, allocations: 461.5 kB / 1.355 GB, free: 3.684 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009816/0.4262, allocations: 0.7523 MB / 1.356 GB, free: 2.836 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4262, allocations: 0 / 1.356 GB, free: 2.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001983/0.4282, allocations: 1.027 MB / 1.357 GB, free: 1.789 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.4282, allocations: 12 kB / 1.357 GB, free: 1.777 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.4282, allocations: 8 kB / 1.357 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.4293, allocations: 316 kB / 1.357 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.4296, allocations: 95.83 kB / 1.357 GB, free: 1.355 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007892/0.4375, allocations: 6.938 MB / 1.364 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.4379, allocations: 28.02 kB / 1.364 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.438, allocations: 28 kB / 1.364 GB, free: 9.945 MB / 1.061 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003671/0.4384, allocations: 246.5 kB / 1.364 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.4385, allocations: 59.62 kB / 1.364 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.4403, allocations: 0.8766 MB / 1.365 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4403, allocations: 7.938 kB / 1.365 GB, free: 8.734 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4403, allocations: 3.984 kB / 1.365 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.4405, allocations: 87.64 kB / 1.365 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.4406, allocations: 23.86 kB / 1.365 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.4408, allocations: 15.98 kB / 1.365 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/0.4409, allocations: 43.89 kB / 1.365 GB, free: 8.562 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001975/0.4429, allocations: 0.9489 MB / 1.366 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001245/0.4441, allocations: 0.9701 MB / 1.367 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004014/0.4445, allocations: 251.7 kB / 1.368 GB, free: 6.363 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003159/0.4449, allocations: 282.9 kB / 1.368 GB, free: 6.09 MB / 1.061 GB Notification: Performance of Backend: time 4.71e-07/0.4449, allocations: 0 / 1.368 GB, free: 6.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002594/0.4475, allocations: 1.251 MB / 1.369 GB, free: 4.781 MB / 1.061 GB Notification: Performance of SimCode: time 0.002682/0.4501, allocations: 1.887 MB / 1.371 GB, free: 2.844 MB / 1.061 GB Notification: Performance of Templates: time 0.02313/0.4733, allocations: 13.43 MB / 1.384 GB, free: 5.605 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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] Variables in the result:$cse1,E.V,E.definiteReference,E.f,E.phiSou,E.potentialReference,Lbase,Lline_1.L,Lline_1.mode,Lline_2a.L,Lline_2a.mode,Lline_2b.L,Lline_2b.mode,Lline_3.L,Lline_3.mode,Lline_3b.L,Lline_3b.mode,Lline_sc.L,Lline_sc.mode,R1.C,R1.CMax,R1.CMin,R1.L,R1.LMax,R1.LMin,R1.P_nominal,R1.R,R1.RMax,R1.RMin,R1.V_nominal,R1.i[1],R1.i[2],R1.inductive,R1.initMode,R1.linearized,R1.mode,R1.use_C_in,R1.use_L_in,R1.use_R_in,R1.v[1],R1.v[2],R2.C,R2.CMax,R2.CMin,R2.L,R2.LMax,R2.LMin,R2.P_nominal,R2.R,R2.RMax,R2.RMin,R2.V_nominal,R2.i[1],R2.i[2],R2.inductive,R2.initMode,R2.linearized,R2.mode,R2.use_C_in,R2.use_L_in,R2.use_R_in,R2.v[1],R2.v[2],R3.C,R3.CMax,R3.CMin,R3.L,R3.LMax,R3.LMin,R3.P_nominal,R3.R,R3.RMax,R3.RMin,R3.V_nominal,R3.i[1],R3.i[2],R3.inductive,R3.initMode,R3.linearized,R3.mode,R3.use_C_in,R3.use_L_in,R3.use_R_in,R3.v[1],R3.v[2],load_sc.C,load_sc.CMax,load_sc.CMin,load_sc.L,load_sc.LMax,load_sc.LMin,load_sc.P_nominal,load_sc.R,load_sc.RMax,load_sc.RMin,load_sc.V_nominal,load_sc.i[1],load_sc.i[2],load_sc.inductive,load_sc.initMode,load_sc.linearized,load_sc.mode,load_sc.use_C_in,load_sc.use_L_in,load_sc.use_R_in,time [Calling sys.exit(0), Time elapsed: 9.610957881996]