Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 120.3 kB / 16.42 MB, free: 6.5 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.001532/0.001532, allocations: 187.9 kB / 17.34 MB, free: 5.727 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.948/2.948, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 67.89 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.907/0.9086, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009609/0.9182, allocations: 6.738 MB / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00558/0.9239, allocations: 3.032 MB / 1.218 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007844/0.9247, allocations: 27.81 kB / 1.218 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002682/0.9274, allocations: 0.9601 MB / 1.219 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.929, allocations: 0.505 MB / 1.219 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.9302, allocations: 418.6 kB / 1.22 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001781/0.932, allocations: 1.224 MB / 1.221 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.9333, allocations: 0.6621 MB / 1.222 GB, free: 4 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.9345, allocations: 478.3 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.9357, allocations: 0.5137 MB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.9359, allocations: 68 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00099/0.9369, allocations: 375.2 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.9374, allocations: 307.2 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007022/0.9381, allocations: 457.7 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.9397, allocations: 1.217 MB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9397, allocations: 4 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9397, allocations: 0 / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.09e-05/0.9398, allocations: 0 / 1.225 GB, free: 12.61 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002484/0.9423, allocations: 1.149 MB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.9423, allocations: 12.03 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.944, allocations: 243.5 kB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.945, allocations: 0.5844 MB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.9451, allocations: 49.66 kB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.9452, allocations: 72.27 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.9468, allocations: 1.085 MB / 1.228 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.9468, allocations: 4 kB / 1.228 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/0.9469, allocations: 31.98 kB / 1.228 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/0.9471, allocations: 93.12 kB / 1.228 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.9483, allocations: 0.7504 MB / 1.229 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005668/0.954, allocations: 5.874 MB / 1.235 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009968/0.955, allocations: 0.5534 MB / 1.235 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004594/0.9555, allocations: 326 kB / 1.236 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.9555, allocations: 4.438 kB / 1.236 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.9556, allocations: 42.98 kB / 1.236 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.926e-06/0.9556, allocations: 0 / 1.236 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.003805/0.9594, allocations: 1.99 MB / 1.238 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.9595, allocations: 55.84 kB / 1.238 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006246/0.9601, allocations: 0.5509 MB / 1.238 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.9601, allocations: 37.7 kB / 1.238 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.9604, allocations: 418.8 kB / 1.239 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.9606, allocations: 173.5 kB / 1.239 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.9608, allocations: 126.6 kB / 1.239 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.961, allocations: 378.6 kB / 1.239 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/0.9614, allocations: 273.8 kB / 1.239 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.9619, allocations: 493 kB / 1.24 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009804/0.9629, allocations: 0.8093 MB / 1.241 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.9629, allocations: 7.938 kB / 1.241 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001744/0.9647, allocations: 1.086 MB / 1.242 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.9647, allocations: 8.875 kB / 1.242 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.9647, allocations: 7.984 kB / 1.242 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008326/0.9655, allocations: 283.2 kB / 1.242 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.966, allocations: 123.8 kB / 1.242 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0063/0.9723, allocations: 7.13 MB / 1.249 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005507/0.9729, allocations: 40.03 kB / 1.249 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/0.973, allocations: 35.98 kB / 1.249 GB, free: 2.199 MB / 0.9669 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0003555/0.9733, allocations: 245.6 kB / 1.249 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.9735, allocations: 75.09 kB / 1.25 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.975, allocations: 0.8885 MB / 1.25 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.975, allocations: 3.938 kB / 1.25 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.975, allocations: 0 / 1.25 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.9753, allocations: 192.2 kB / 1.251 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.715e-05/0.9754, allocations: 11.98 kB / 1.251 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.9757, allocations: 27.97 kB / 1.251 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.9758, allocations: 44.36 kB / 1.251 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001877/0.9777, allocations: 0.9477 MB / 1.252 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001237/0.979, allocations: 1.044 MB / 1.253 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003329/0.9793, allocations: 267.3 kB / 1.253 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004072/0.9797, allocations: 383.1 kB / 1.253 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of Backend: time 6.82e-07/0.9797, allocations: 0 / 1.253 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002485/0.9822, allocations: 1.306 MB / 1.254 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002709/0.985, allocations: 1.945 MB / 1.256 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.02344/1.008, allocations: 13.45 MB / 1.27 GB, free: 13.33 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches