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.001429/0.001429, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.484/1.484, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.726/2.726, allocations: 437 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/0.7665, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005597/0.7721, allocations: 3.079 MB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006115/0.7783, allocations: 3.333 MB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.7787, allocations: 4 kB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.7805, allocations: 0.5772 MB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.7809, allocations: 127 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.7834, allocations: 0.7009 MB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002163/0.7855, allocations: 1.68 MB / 1.027 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004692/0.786, allocations: 253.2 kB / 1.027 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009072/0.7869, allocations: 0.5841 MB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000874/0.7878, allocations: 0.611 MB / 1.028 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.7881, allocations: 136 kB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.7894, allocations: 0.6438 MB / 1.029 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008713/0.7903, allocations: 0.6156 MB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.7916, allocations: 0.8746 MB / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.7959, allocations: 3.4 MB / 1.034 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.225e-05/0.7959, allocations: 4 kB / 1.034 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7959, allocations: 0 / 1.034 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.753e-05/0.796, allocations: 0 / 1.034 GB, free: 1.832 MB / 0.7794 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.00465/0.8007, allocations: 2.164 MB / 1.036 GB, free: 15.59 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.8007, allocations: 8.031 kB / 1.036 GB, free: 15.59 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006682/0.8074, allocations: 0.6427 MB / 1.036 GB, free: 14.94 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/0.8111, allocations: 1.631 MB / 1.038 GB, free: 13.24 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.8114, allocations: 132.5 kB / 1.038 GB, free: 13.1 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.8116, allocations: 36.36 kB / 1.038 GB, free: 13.06 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004165/0.8158, allocations: 1.891 MB / 1.04 GB, free: 11.16 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.8158, allocations: 0 / 1.04 GB, free: 11.16 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.8159, allocations: 12 kB / 1.04 GB, free: 11.15 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.816, allocations: 12 kB / 1.04 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006147/0.8221, allocations: 2.614 MB / 1.042 GB, free: 8.523 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/0.8323, allocations: 4.608 MB / 1.047 GB, free: 3.844 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.8431, allocations: 2.898 MB / 1.05 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/0.846, allocations: 1.181 MB / 1.051 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-05/0.8462, allocations: 24.41 kB / 1.051 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003843/0.85, allocations: 1.777 MB / 1.053 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 4.017e-06/0.85, allocations: 0 / 1.053 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.009075/0.8591, allocations: 3.641 MB / 1.056 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.8593, allocations: 89.67 kB / 1.056 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005245/0.8645, allocations: 2.759 MB / 1.059 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003887/0.8649, allocations: 49.7 kB / 1.059 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009088/0.8658, allocations: 0.6971 MB / 1.06 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.8662, allocations: 189.4 kB / 1.06 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/0.8666, allocations: 158.1 kB / 1.06 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.8667, allocations: 333.8 kB / 1.06 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003105/0.8699, allocations: 1.458 MB / 1.062 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002933/0.8728, allocations: 1.438 MB / 1.063 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005084/0.8779, allocations: 2.207 MB / 1.065 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.8779, allocations: 4 kB / 1.065 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006943/0.8849, allocations: 2.983 MB / 1.068 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.885, allocations: 79.38 kB / 1.068 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.8851, allocations: 4 kB / 1.068 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/0.8851, allocations: 4 kB / 1.068 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.8865, allocations: 187.6 kB / 1.069 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.8865, allocations: 4 kB / 1.069 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.8883, allocations: 111.5 kB / 1.069 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.8885, allocations: 43.94 kB / 1.069 GB, free: 13.36 MB / 0.8262 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.001743/0.8903, allocations: 0.7724 MB / 1.069 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009067/0.8912, allocations: 181.7 kB / 1.07 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006964/0.8982, allocations: 2.673 MB / 1.072 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.8982, allocations: 8 kB / 1.072 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.8982, allocations: 0 / 1.072 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.8983, allocations: 7.969 kB / 1.072 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004532/0.9028, allocations: 2.323 MB / 1.075 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.9028, allocations: 4 kB / 1.075 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.9042, allocations: 179.7 kB / 1.075 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.9043, allocations: 4 kB / 1.075 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.9044, allocations: 39.94 kB / 1.075 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.9044, allocations: 4 kB / 1.075 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.9044, allocations: 0 / 1.075 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006572/0.911, allocations: 2.559 MB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/0.9127, allocations: 0.5844 MB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006883/0.9134, allocations: 59.97 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/0.9153, allocations: 119.8 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.9156, allocations: 56.48 kB / 1.078 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/0.9158, allocations: 51.94 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.004594/0.9204, allocations: 1.98 MB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9204, allocations: 0 / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001909/0.9223, allocations: 375.8 kB / 1.08 GB, free: 1.227 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.coiCap.stage,dryCoi.coiCap.checkBoundsTEva[dryCoi.coiCap.stage],dryCoi.coiCap.checkBoundsTCon[dryCoi.coiCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009926/0.9233, allocations: 245.3 kB / 1.081 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.007321/0.9306, allocations: 3.138 MB / 1.084 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.9307, allocations: 4 kB / 1.084 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00335/0.9341, allocations: 1.353 MB / 1.085 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/0.9375, allocations: 463.8 kB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.9478, allocations: 4.227 MB / 1.09 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002012/0.9499, allocations: 1.596 MB / 1.091 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00283/0.9527, allocations: 0.5993 MB / 1.092 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008121/0.9536, allocations: 131.3 kB / 1.092 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of SimCode: time 1.253e-06/0.9536, allocations: 3.938 kB / 1.092 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of Templates: time 0.06352/1.017, allocations: 32.7 MB / 1.124 GB, free: 4.953 MB / 0.8731 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=400 -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/jenkins/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