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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001104/0.001104, allocations: 107.5 kB / 16.36 MB, free: 5.824 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.001005/0.001005, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001325, allocations: 67.88 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3271, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004403/0.3315, allocations: 3.1 MB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004582/0.3361, allocations: 3.329 MB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.3365, allocations: 4 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.3379, allocations: 0.5714 MB / 1.026 GB, free: 2.816 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.3383, allocations: 127 kB / 1.026 GB, free: 2.691 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.3401, allocations: 0.6983 MB / 1.026 GB, free: 2 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001629/0.3417, allocations: 1.693 MB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003213/0.342, allocations: 249.3 kB / 1.028 GB, free: 52 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006042/0.3427, allocations: 0.584 MB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.3433, allocations: 0.6188 MB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.3435, allocations: 140 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009549/0.3445, allocations: 0.6516 MB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005059/0.345, allocations: 0.6118 MB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000757/0.3457, allocations: 0.8784 MB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.3486, allocations: 3.424 MB / 1.035 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3486, allocations: 0 / 1.035 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3486, allocations: 0 / 1.035 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.218e-05/0.3487, allocations: 0 / 1.035 GB, free: 9.125 MB / 0.8106 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.00352/0.3522, allocations: 2.168 MB / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3522, allocations: 8.031 kB / 1.037 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005954/0.3582, allocations: 0.6465 MB / 1.038 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.361, allocations: 1.631 MB / 1.039 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/0.3612, allocations: 136.5 kB / 1.04 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.3613, allocations: 28.38 kB / 1.04 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003318/0.3647, allocations: 1.899 MB / 1.041 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3647, allocations: 0 / 1.041 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.731e-05/0.3648, allocations: 12 kB / 1.041 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3648, allocations: 4 kB / 1.041 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004956/0.3698, allocations: 2.618 MB / 1.044 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009041/0.3788, allocations: 4.601 MB / 1.048 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/0.3889, allocations: 2.892 MB / 1.051 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/0.3913, allocations: 1.189 MB / 1.052 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.3914, allocations: 12.42 kB / 1.052 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003282/0.3947, allocations: 1.788 MB / 1.054 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 3.186e-06/0.3947, allocations: 0 / 1.054 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.007944/0.4027, allocations: 3.637 MB / 1.058 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/0.4028, allocations: 97.66 kB / 1.058 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005703/0.4085, allocations: 2.755 MB / 1.061 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003161/0.4089, allocations: 53.69 kB / 1.061 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000818/0.4097, allocations: 0.6971 MB / 1.061 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.41, allocations: 181.4 kB / 1.061 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003986/0.4104, allocations: 154.1 kB / 1.062 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4105, allocations: 329.9 kB / 1.062 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002537/0.4131, allocations: 1.458 MB / 1.063 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002461/0.4155, allocations: 1.434 MB / 1.065 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004213/0.4198, allocations: 2.215 MB / 1.067 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4198, allocations: 0 / 1.067 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005721/0.4255, allocations: 2.979 MB / 1.07 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-05/0.4256, allocations: 87.31 kB / 1.07 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.4256, allocations: 3.938 kB / 1.07 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.4257, allocations: 4 kB / 1.07 GB, free: 5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.4269, allocations: 187.6 kB / 1.07 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.4269, allocations: 4 kB / 1.07 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.4284, allocations: 107.5 kB / 1.07 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.4286, allocations: 43.94 kB / 1.07 GB, free: 4.664 MB / 0.8419 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.001379/0.43, allocations: 0.7919 MB / 1.071 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006339/0.4306, allocations: 177.8 kB / 1.071 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005647/0.4363, allocations: 2.665 MB / 1.074 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.4363, allocations: 4 kB / 1.074 GB, free: 1 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4363, allocations: 0 / 1.074 GB, free: 1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.4363, allocations: 3.984 kB / 1.074 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5847/1.021, allocations: 2.322 MB / 1.076 GB, free: 61.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.021, allocations: 0.8125 kB / 1.076 GB, free: 61.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/1.023, allocations: 177.6 kB / 1.076 GB, free: 61.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/1.023, allocations: 3.5 kB / 1.076 GB, free: 61.39 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/1.023, allocations: 38.89 kB / 1.076 GB, free: 61.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/1.023, allocations: 2.625 kB / 1.076 GB, free: 61.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.023, allocations: 1.219 kB / 1.076 GB, free: 61.39 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006096/1.029, allocations: 2.56 MB / 1.079 GB, free: 60.94 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/1.031, allocations: 0.5802 MB / 1.079 GB, free: 60.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007185/1.032, allocations: 60.02 kB / 1.079 GB, free: 60.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/1.033, allocations: 121.8 kB / 1.08 GB, free: 60.61 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/1.034, allocations: 56.3 kB / 1.08 GB, free: 60.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/1.034, allocations: 47.34 kB / 1.08 GB, free: 60.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.004982/1.039, allocations: 1.977 MB / 1.082 GB, free: 59.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/1.039, allocations: 0 / 1.082 GB, free: 59.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002383/1.041, allocations: 371.1 kB / 1.082 GB, free: 59.84 MB / 0.8419 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.001113/1.042, allocations: 253.6 kB / 1.082 GB, free: 59.74 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006904/1.049, allocations: 2.981 MB / 1.085 GB, free: 58.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.049, allocations: 3.375 kB / 1.085 GB, free: 58.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/1.052, allocations: 1.356 MB / 1.086 GB, free: 58.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/1.056, allocations: 473.8 kB / 1.087 GB, free: 58.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009502/1.065, allocations: 4.189 MB / 1.091 GB, free: 56.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/1.067, allocations: 1.607 MB / 1.092 GB, free: 55.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002671/1.07, allocations: 0.6002 MB / 1.093 GB, free: 55.42 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000895/1.071, allocations: 133.6 kB / 1.093 GB, free: 55.41 MB / 0.8419 GB Notification: Performance of SimCode: time 1.843e-06/1.071, allocations: 1.125 kB / 1.093 GB, free: 55.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.06475/1.135, allocations: 32.68 MB / 1.125 GB, free: 44.2 MB / 0.8419 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 -s gbode -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