Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_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_latest_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.001386/0.001386, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001781/0.001781, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.638/2.638, allocations: 436.5 MB / 0.7104 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003573, allocations: 8 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9168/0.9172, allocations: 153.7 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.003579/0.9209, allocations: 2.529 MB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004678/0.9256, allocations: 2.916 MB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.9259, allocations: 0 / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.9279, allocations: 0.6738 MB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.9282, allocations: 123.7 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.9299, allocations: 0.5563 MB / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.9313, allocations: 1.06 MB / 1.028 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003564/0.9316, allocations: 234 kB / 1.029 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.9321, allocations: 478.5 kB / 1.029 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00055/0.9327, allocations: 0.4981 MB / 1.03 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.9328, allocations: 56 kB / 1.03 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008998/0.9337, allocations: 0.4955 MB / 1.03 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004874/0.9342, allocations: 490.6 kB / 1.031 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.9346, allocations: 336.8 kB / 1.031 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.9367, allocations: 2.49 MB / 1.033 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.9368, allocations: 0 / 1.033 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.755e-06/0.9368, allocations: 4 kB / 1.033 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.974e-05/0.9368, allocations: 0 / 1.033 GB, free: 4.129 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.002958/0.9398, allocations: 1.783 MB / 1.035 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.9398, allocations: 11.98 kB / 1.035 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005906/0.9457, allocations: 0.6729 MB / 1.036 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/0.948, allocations: 1.218 MB / 1.037 GB, free: 304 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.9482, allocations: 132 kB / 1.037 GB, free: 160 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.9483, allocations: 32 kB / 1.037 GB, free: 128 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.9518, allocations: 1.903 MB / 1.039 GB, free: 14.21 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.9518, allocations: 0 / 1.039 GB, free: 14.21 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.952, allocations: 12 kB / 1.039 GB, free: 14.2 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.952, allocations: 8 kB / 1.039 GB, free: 14.19 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005236/0.9572, allocations: 2.661 MB / 1.042 GB, free: 11.53 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007782/0.965, allocations: 4.289 MB / 1.046 GB, free: 7.176 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009828/0.9749, allocations: 2.977 MB / 1.049 GB, free: 4.191 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.9751, allocations: 24.34 kB / 1.049 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00402/0.9791, allocations: 1.792 MB / 1.051 GB, free: 2.359 MB / 0.795 GB Notification: Performance of pre-optimization done (n=61): time 5.35e-06/0.9792, allocations: 4 kB / 1.051 GB, free: 2.355 MB / 0.795 GB Notification: Performance of matching and sorting (n=61): time 0.008184/0.9874, allocations: 3.776 MB / 1.054 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.669e-05/0.9875, allocations: 101.6 kB / 1.054 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003565/0.9911, allocations: 2.357 MB / 1.057 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003128/0.9914, allocations: 53.69 kB / 1.057 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007758/0.9922, allocations: 0.7009 MB / 1.057 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.9925, allocations: 177.5 kB / 1.058 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.9926, allocations: 11.94 kB / 1.058 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9927, allocations: 337.9 kB / 1.058 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/0.9955, allocations: 1.466 MB / 1.059 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002709/0.9982, allocations: 1.453 MB / 1.061 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/1.001, allocations: 1.227 MB / 1.062 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.001, allocations: 0 / 1.062 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006066/1.007, allocations: 3.018 MB / 1.065 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.771e-05/1.007, allocations: 85.09 kB / 1.065 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.078e-06/1.007, allocations: 0 / 1.065 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/1.007, allocations: 4 kB / 1.065 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.008, allocations: 199.6 kB / 1.065 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/1.008, allocations: 7.953 kB / 1.065 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/1.01, allocations: 115.5 kB / 1.065 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.01, allocations: 47.94 kB / 1.065 GB, free: 3.07 MB / 0.8106 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 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.coiCap.stage,$PRE.dryCoi.coiCap.checkBoundsTEva[1],dryCoi.coiCap.checkBoundsTEva[1],$PRE.dryCoi.coiCap.checkBoundsTEva[2],dryCoi.coiCap.checkBoundsTEva[2],$PRE.dryCoi.coiCap.checkBoundsTEva[3],dryCoi.coiCap.checkBoundsTEva[3],$PRE.dryCoi.coiCap.checkBoundsTEva[4],dryCoi.coiCap.checkBoundsTEva[4],$PRE.dryCoi.coiCap.checkBoundsTCon[1],dryCoi.coiCap.checkBoundsTCon[1],$PRE.dryCoi.coiCap.checkBoundsTCon[2],dryCoi.coiCap.checkBoundsTCon[2],$PRE.dryCoi.coiCap.checkBoundsTCon[3],dryCoi.coiCap.checkBoundsTCon[3],$PRE.dryCoi.coiCap.checkBoundsTCon[4],dryCoi.coiCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001439/1.011, allocations: 0.7763 MB / 1.066 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005284/1.012, allocations: 181.7 kB / 1.066 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006056/1.018, allocations: 2.708 MB / 1.069 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/1.018, allocations: 8 kB / 1.069 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.018, allocations: 0 / 1.069 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/1.018, allocations: 7.938 kB / 1.069 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/1.021, allocations: 2.19 MB / 1.071 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/1.021, allocations: 3.984 kB / 1.071 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/1.023, allocations: 191.7 kB / 1.071 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/1.023, allocations: 7.938 kB / 1.071 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.023, allocations: 35.94 kB / 1.071 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/1.023, allocations: 11.98 kB / 1.071 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.023, allocations: 0 / 1.071 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005814/1.029, allocations: 2.594 MB / 1.074 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/1.03, allocations: 0.518 MB / 1.074 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005225/1.031, allocations: 67.92 kB / 1.074 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.032, allocations: 143.9 kB / 1.074 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/1.033, allocations: 64.45 kB / 1.075 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/1.033, allocations: 43.94 kB / 1.075 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.003687/1.036, allocations: 1.699 MB / 1.076 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 6.72e-07/1.036, allocations: 0 / 1.076 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001715/1.038, allocations: 363.8 kB / 1.077 GB, free: 7.305 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009229/1.039, allocations: 245.3 kB / 1.077 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006143/1.045, allocations: 3.024 MB / 1.08 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.045, allocations: 4 kB / 1.08 GB, free: 4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002837/1.048, allocations: 1.357 MB / 1.081 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.051, allocations: 422.4 kB / 1.082 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/1.061, allocations: 4.444 MB / 1.086 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001831/1.063, allocations: 1.63 MB / 1.087 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00244/1.065, allocations: 491.2 kB / 1.088 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007064/1.066, allocations: 111.3 kB / 1.088 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of SimCode: time 1.844e-06/1.066, allocations: 0 / 1.088 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of Templates: time 0.05/1.116, allocations: 26.81 MB / 1.114 GB, free: 0.9219 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches