Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.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.Fluid.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001778, allocations: 114.5 kB / 16.42 MB, free: 6.504 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.001909/0.001909, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.434/1.434, 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 10.1.1-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 63.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9679/0.9695, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.00493/0.9745, allocations: 3.092 MB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004905/0.9794, allocations: 3.329 MB / 1.174 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.9798, allocations: 4 kB / 1.174 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.9814, allocations: 0.5681 MB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.9819, allocations: 134.9 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.9839, allocations: 0.7107 MB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00194/0.9859, allocations: 1.686 MB / 1.177 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004356/0.9863, allocations: 253.2 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009004/0.9872, allocations: 0.5801 MB / 1.177 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009099/0.9881, allocations: 0.6111 MB / 1.178 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004451/0.9886, allocations: 136 kB / 1.178 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.9899, allocations: 0.6516 MB / 1.179 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007414/0.9906, allocations: 0.6156 MB / 1.179 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.9919, allocations: 0.8824 MB / 1.18 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003833/0.9958, allocations: 3.434 MB / 1.184 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9958, allocations: 0 / 1.184 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.759e-06/0.9958, allocations: 0 / 1.184 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.319e-05/0.9959, allocations: 3.938 kB / 1.184 GB, free: 3.133 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003664/0.9995, allocations: 2.233 MB / 1.186 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.9996, allocations: 8.031 kB / 1.186 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006461/1.006, allocations: 0.6592 MB / 1.186 GB, free: 160 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/1.009, allocations: 1.645 MB / 1.188 GB, free: 14.44 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/1.009, allocations: 136.5 kB / 1.188 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/1.009, allocations: 36.34 kB / 1.188 GB, free: 14.26 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003947/1.013, allocations: 1.884 MB / 1.19 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.013, allocations: 4 kB / 1.19 GB, free: 12.37 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/1.014, allocations: 19.98 kB / 1.19 GB, free: 12.35 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/1.014, allocations: 8 kB / 1.19 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005609/1.019, allocations: 2.606 MB / 1.193 GB, free: 9.73 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008894/1.028, allocations: 4.605 MB / 1.197 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/1.039, allocations: 2.897 MB / 1.2 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003115/1.042, allocations: 1.189 MB / 1.201 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/1.042, allocations: 16.42 kB / 1.201 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003982/1.046, allocations: 1.773 MB / 1.203 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 3.757e-06/1.046, allocations: 4 kB / 1.203 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.009159/1.055, allocations: 3.654 MB / 1.206 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.031e-05/1.055, allocations: 97.67 kB / 1.207 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006176/1.062, allocations: 2.759 MB / 1.209 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004129/1.062, allocations: 49.7 kB / 1.209 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008741/1.063, allocations: 0.701 MB / 1.21 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003964/1.063, allocations: 194.3 kB / 1.21 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004774/1.064, allocations: 154.1 kB / 1.21 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.064, allocations: 337.9 kB / 1.211 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/1.067, allocations: 1.454 MB / 1.212 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002889/1.07, allocations: 1.43 MB / 1.213 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005173/1.075, allocations: 2.211 MB / 1.216 GB, free: 2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.075, allocations: 7.938 kB / 1.216 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006705/1.082, allocations: 2.984 MB / 1.218 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/1.082, allocations: 83.38 kB / 1.219 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/1.082, allocations: 0 / 1.219 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/1.082, allocations: 4 kB / 1.219 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.083, allocations: 191.7 kB / 1.219 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/1.084, allocations: 0 / 1.219 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/1.085, allocations: 103.6 kB / 1.219 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/1.085, allocations: 47.94 kB / 1.219 GB, free: 14.55 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,dryCoi.coiCap.checkBoundsTCon[4],$PRE.dryCoi.coiCap.checkBoundsTCon[4],dryCoi.coiCap.checkBoundsTCon[3],$PRE.dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[2],$PRE.dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[1],$PRE.dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTEva[4],$PRE.dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTEva[3],$PRE.dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[2],$PRE.dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[1],$PRE.dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.stage,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001479/1.087, allocations: 0.7879 MB / 1.22 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007081/1.088, allocations: 186.8 kB / 1.22 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006461/1.094, allocations: 2.661 MB / 1.222 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/1.094, allocations: 3.984 kB / 1.222 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.094, allocations: 3.938 kB / 1.222 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/1.096, allocations: 0.5893 MB / 1.223 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000776/1.097, allocations: 63.91 kB / 1.223 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002022/1.099, allocations: 119.9 kB / 1.223 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/1.099, allocations: 60.42 kB / 1.223 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006427/1.106, allocations: 2.608 MB / 1.226 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005948/1.112, allocations: 2.704 MB / 1.228 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002628/1.114, allocations: 1.25 MB / 1.23 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004174/1.118, allocations: 1.976 MB / 1.232 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of Backend: time 6.31e-07/1.118, allocations: 0 / 1.232 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005689/1.124, allocations: 2.023 MB / 1.234 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of SimCode: time 0.006634/1.131, allocations: 3.889 MB / 1.237 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of Templates: time 0.06261/1.193, allocations: 38.1 MB / 1.275 GB, free: 5.492 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches