Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 108.6 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 192.3 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001907, allocations: 67.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00915/1.086, allocations: 6.097 MB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005825/1.092, allocations: 3.145 MB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008001/1.093, allocations: 35.75 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002737/1.095, allocations: 0.92 MB / 1.177 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/1.097, allocations: 497.5 kB / 1.178 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/1.099, allocations: 492.3 kB / 1.178 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0017/1.1, allocations: 1.096 MB / 1.179 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/1.102, allocations: 0.6385 MB / 1.18 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009403/1.103, allocations: 454.4 kB / 1.18 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009448/1.103, allocations: 470.2 kB / 1.181 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002096/1.104, allocations: 59.94 kB / 1.181 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/1.105, allocations: 483 kB / 1.181 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004536/1.105, allocations: 295.2 kB / 1.182 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008377/1.106, allocations: 390 kB / 1.182 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002159/1.108, allocations: 1.174 MB / 1.183 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.108, allocations: 0 / 1.183 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.007e-06/1.108, allocations: 0 / 1.183 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.893e-05/1.109, allocations: 3.938 kB / 1.183 GB, free: 3.594 MB / 0.9044 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.002625/1.111, allocations: 1.056 MB / 1.184 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/1.111, allocations: 12.88 kB / 1.184 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/1.113, allocations: 215.7 kB / 1.184 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/1.114, allocations: 0.5883 MB / 1.185 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/1.114, allocations: 45.67 kB / 1.185 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/1.115, allocations: 64.36 kB / 1.185 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/1.116, allocations: 1.038 MB / 1.186 GB, free: 380 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-05/1.116, allocations: 4 kB / 1.186 GB, free: 376 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.364e-05/1.116, allocations: 27.98 kB / 1.186 GB, free: 348 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/1.117, allocations: 73.27 kB / 1.186 GB, free: 276 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/1.118, allocations: 0.6956 MB / 1.187 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006389/1.124, allocations: 5.717 MB / 1.192 GB, free: 9.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009081/1.125, allocations: 0.608 MB / 1.193 GB, free: 8.777 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008606/1.126, allocations: 430.1 kB / 1.193 GB, free: 8.355 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/1.126, allocations: 8.688 kB / 1.193 GB, free: 8.348 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/1.126, allocations: 34.56 kB / 1.193 GB, free: 8.305 MB / 0.92 GB Notification: Performance of pre-optimization done (n=41): time 2.675e-06/1.126, allocations: 4 kB / 1.193 GB, free: 8.301 MB / 0.92 GB Notification: Performance of matching and sorting (n=42): time 0.004619/1.131, allocations: 2.014 MB / 1.195 GB, free: 6.191 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/1.131, allocations: 55.41 kB / 1.195 GB, free: 6.125 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/1.131, allocations: 454.8 kB / 1.196 GB, free: 5.672 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/1.132, allocations: 33.7 kB / 1.196 GB, free: 5.633 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/1.132, allocations: 395 kB / 1.196 GB, free: 5.242 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/1.132, allocations: 145.9 kB / 1.196 GB, free: 5.098 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/1.132, allocations: 110.2 kB / 1.197 GB, free: 4.984 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001998/1.132, allocations: 366.8 kB / 1.197 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/1.133, allocations: 237.2 kB / 1.197 GB, free: 4.387 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/1.133, allocations: 461 kB / 1.198 GB, free: 3.84 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/1.135, allocations: 0.7439 MB / 1.198 GB, free: 3 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/1.135, allocations: 4 kB / 1.198 GB, free: 2.996 MB / 0.92 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002066/1.137, allocations: 1.038 MB / 1.199 GB, free: 1.938 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/1.137, allocations: 8 kB / 1.199 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/1.137, allocations: 8 kB / 1.199 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/1.138, allocations: 327.4 kB / 1.2 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/1.138, allocations: 99.81 kB / 1.2 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008466/1.147, allocations: 7.47 MB / 1.207 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/1.147, allocations: 28.02 kB / 1.207 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.491e-05/1.147, allocations: 32 kB / 1.207 GB, free: 9.398 MB / 0.9356 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.0004512/1.148, allocations: 241.5 kB / 1.207 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/1.148, allocations: 59.34 kB / 1.207 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/1.15, allocations: 0.8963 MB / 1.208 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/1.15, allocations: 3.984 kB / 1.208 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.15, allocations: 0 / 1.208 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/1.15, allocations: 176.6 kB / 1.208 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/1.15, allocations: 8 kB / 1.208 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/1.151, allocations: 23.97 kB / 1.208 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.151, allocations: 43.86 kB / 1.209 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001971/1.153, allocations: 0.9446 MB / 1.209 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001184/1.154, allocations: 0.9767 MB / 1.21 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003386/1.154, allocations: 247.8 kB / 1.211 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003615/1.155, allocations: 302.9 kB / 1.211 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of Backend: time 8.01e-07/1.155, allocations: 0 / 1.211 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002712/1.157, allocations: 1.295 MB / 1.212 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of SimCode: time 0.003/1.16, allocations: 1.888 MB / 1.214 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of Templates: time 0.02191/1.182, allocations: 11.97 MB / 1.226 GB, free: 6.25 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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.C_internal,R1.L,R1.LMax,R1.LMin,R1.L_internal,R1.P_nominal,R1.R,R1.RMax,R1.RMin,R1.R_internal,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.C_internal,R2.L,R2.LMax,R2.LMin,R2.L_internal,R2.P_nominal,R2.R,R2.RMax,R2.RMin,R2.R_internal,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.C_internal,R3.L,R3.LMax,R3.LMin,R3.L_internal,R3.P_nominal,R3.R,R3.RMax,R3.RMin,R3.R_internal,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.C_internal,load_sc.L,load_sc.LMax,load_sc.LMin,load_sc.L_internal,load_sc.P_nominal,load_sc.R,load_sc.RMax,load_sc.RMin,load_sc.R_internal,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