Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 110.7 kB / 16.42 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.001933/0.001933, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.456/1.456, 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.616/2.616, allocations: 469.4 MB / 0.7428 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 72.11 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.03, allocations: 159.1 MB / 1.221 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005489/1.036, allocations: 3.069 MB / 1.224 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003362/1.039, allocations: 1.916 MB / 1.226 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/1.039, allocations: 4 kB / 1.226 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/1.041, allocations: 274.9 kB / 1.226 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005506/1.041, allocations: 203.1 kB / 1.226 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007782/1.042, allocations: 251.2 kB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004147/1.042, allocations: 318.9 kB / 1.227 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003851/1.043, allocations: 191.6 kB / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/1.043, allocations: 135.5 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/1.043, allocations: 147.4 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/1.043, allocations: 20 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007252/1.044, allocations: 407.2 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/1.044, allocations: 79.8 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/1.044, allocations: 127.3 kB / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006785/1.045, allocations: 480.6 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/1.045, allocations: 0 / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.803e-06/1.045, allocations: 4 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.184e-06/1.045, allocations: 0 / 1.228 GB, free: 10.79 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001081/1.046, allocations: 0.5614 MB / 1.229 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.046, allocations: 8.031 kB / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008869/1.047, allocations: 116.5 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/1.047, allocations: 271.8 kB / 1.229 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/1.048, allocations: 12.81 kB / 1.229 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/1.048, allocations: 20.38 kB / 1.229 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006162/1.048, allocations: 353.4 kB / 1.23 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.048, allocations: 0 / 1.23 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/1.048, allocations: 19.98 kB / 1.23 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/1.048, allocations: 20.42 kB / 1.23 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/1.049, allocations: 293.5 kB / 1.23 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/1.051, allocations: 1.733 MB / 1.232 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/1.052, allocations: 329.4 kB / 1.232 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/1.052, allocations: 101.7 kB / 1.232 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/1.052, allocations: 89.03 kB / 1.232 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/1.052, allocations: 38.56 kB / 1.232 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/1.052, allocations: 0 / 1.232 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.002734/1.055, allocations: 0.9677 MB / 1.233 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/1.055, allocations: 81.11 kB / 1.233 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/1.055, allocations: 215.8 kB / 1.233 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/1.055, allocations: 33.7 kB / 1.233 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/1.055, allocations: 164.1 kB / 1.234 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/1.055, allocations: 82.83 kB / 1.234 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/1.056, allocations: 69.59 kB / 1.234 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.056, allocations: 330.8 kB / 1.234 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/1.056, allocations: 131.9 kB / 1.234 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/1.056, allocations: 218.3 kB / 1.234 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/1.057, allocations: 365.2 kB / 1.235 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.057, allocations: 0 / 1.235 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000904/1.058, allocations: 0.5077 MB / 1.235 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.058, allocations: 8 kB / 1.235 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.058, allocations: 0 / 1.235 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005515/1.058, allocations: 159.6 kB / 1.235 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/1.059, allocations: 59.91 kB / 1.235 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00349/1.062, allocations: 4.194 MB / 1.239 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/1.062, allocations: 15.98 kB / 1.239 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/1.062, allocations: 16 kB / 1.239 GB, free: 14.41 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000223/1.063, allocations: 166.3 kB / 1.24 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.489e-05/1.063, allocations: 19.81 kB / 1.24 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009249/1.064, allocations: 482.4 kB / 1.24 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.064, allocations: 4 kB / 1.24 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.064, allocations: 0 / 1.24 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/1.064, allocations: 124.8 kB / 1.24 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/1.064, allocations: 8 kB / 1.24 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/1.064, allocations: 11.98 kB / 1.24 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/1.064, allocations: 19.97 kB / 1.24 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001042/1.065, allocations: 0.6202 MB / 1.241 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008205/1.066, allocations: 0.7355 MB / 1.242 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001992/1.066, allocations: 135.9 kB / 1.242 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001488/1.066, allocations: 157.5 kB / 1.242 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of Backend: time 9.32e-07/1.066, allocations: 0 / 1.242 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001743/1.068, allocations: 0.7337 MB / 1.243 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001242/1.069, allocations: 1.015 MB / 1.244 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of Templates: time 0.01086/1.08, allocations: 5.656 MB / 1.249 GB, free: 4.41 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches