Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 109.8 kB / 16.41 MB, free: 6.465 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.001471/0.001471, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.463/1.463, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 67.83 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9422/0.9438, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.01081/0.9547, allocations: 5.456 MB / 1.214 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006638/0.9614, allocations: 2.619 MB / 1.216 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008379/0.9622, allocations: 23.88 kB / 1.216 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.9651, allocations: 0.6956 MB / 1.217 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.9669, allocations: 405.7 kB / 1.217 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.9686, allocations: 399.1 kB / 1.218 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.9706, allocations: 0.9436 MB / 1.219 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.9717, allocations: 462.3 kB / 1.219 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009836/0.9727, allocations: 378.5 kB / 1.22 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009579/0.9737, allocations: 398.5 kB / 1.22 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001999/0.9739, allocations: 48 kB / 1.22 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.9751, allocations: 367.2 kB / 1.22 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004768/0.9756, allocations: 251.3 kB / 1.221 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007452/0.9763, allocations: 346.3 kB / 1.221 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.9785, allocations: 0.9674 MB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.9785, allocations: 0 / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.896e-06/0.9785, allocations: 0 / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.066e-05/0.9786, allocations: 4 kB / 1.222 GB, free: 15.87 MB / 0.9512 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.003264/0.9818, allocations: 0.9697 MB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.837e-05/0.9819, allocations: 12.03 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/0.9845, allocations: 199.8 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.9861, allocations: 0.5102 MB / 1.223 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/0.9862, allocations: 37.36 kB / 1.223 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/0.9865, allocations: 52.47 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.9887, allocations: 0.8318 MB / 1.224 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.155e-05/0.9888, allocations: 4 kB / 1.224 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.9889, allocations: 31.98 kB / 1.224 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002914/0.9892, allocations: 68.88 kB / 1.224 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.9907, allocations: 0.5736 MB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006886/0.9976, allocations: 4.561 MB / 1.229 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006707/0.9983, allocations: 299.2 kB / 1.23 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.9988, allocations: 225.3 kB / 1.23 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.9988, allocations: 8.219 kB / 1.23 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.9989, allocations: 34.84 kB / 1.23 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 5.129e-06/0.9989, allocations: 0 / 1.23 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40): time 0.008579/1.008, allocations: 2.648 MB / 1.233 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/1.008, allocations: 59.41 kB / 1.233 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008349/1.008, allocations: 454 kB / 1.233 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/1.009, allocations: 29.7 kB / 1.233 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/1.009, allocations: 339.7 kB / 1.233 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/1.009, allocations: 142 kB / 1.234 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/1.009, allocations: 110.1 kB / 1.234 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002051/1.01, allocations: 362.7 kB / 1.234 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000566/1.01, allocations: 241 kB / 1.234 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007166/1.011, allocations: 410.4 kB / 1.235 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/1.012, allocations: 0.674 MB / 1.235 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.012, allocations: 0 / 1.235 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002729/1.015, allocations: 0.9215 MB / 1.236 GB, free: 244 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/1.015, allocations: 8 kB / 1.236 GB, free: 236 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/1.015, allocations: 7.984 kB / 1.236 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/1.016, allocations: 226.6 kB / 1.236 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/1.017, allocations: 115.8 kB / 1.237 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007478/1.025, allocations: 5.332 MB / 1.242 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007706/1.025, allocations: 31.97 kB / 1.242 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/1.026, allocations: 24 kB / 1.242 GB, free: 10.07 MB / 0.9669 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.0005174/1.026, allocations: 225.7 kB / 1.242 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/1.026, allocations: 59.28 kB / 1.242 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/1.029, allocations: 0.7774 MB / 1.243 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/1.029, allocations: 0 / 1.243 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.029, allocations: 0 / 1.243 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/1.029, allocations: 168.4 kB / 1.243 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/1.029, allocations: 12 kB / 1.243 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000494/1.03, allocations: 19.97 kB / 1.243 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.03, allocations: 35.94 kB / 1.243 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002915/1.033, allocations: 0.8576 MB / 1.244 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001889/1.035, allocations: 0.9646 MB / 1.245 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005542/1.035, allocations: 239.6 kB / 1.245 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004643/1.036, allocations: 310.9 kB / 1.245 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of Backend: time 3.41e-07/1.036, allocations: 0 / 1.245 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002624/1.038, allocations: 1.076 MB / 1.246 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002774/1.041, allocations: 1.78 MB / 1.248 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of Templates: time 0.02175/1.063, allocations: 11.07 MB / 1.259 GB, free: 8.441 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches