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.001409/0.001409, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00161/0.00161, allocations: 196.6 kB / 16.14 MB, free: 6.645 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.466/1.466, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.666/2.666, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.89 kB / 0.8685 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7676/0.7688, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004384/0.7732, allocations: 3.119 MB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004931/0.7782, allocations: 3.377 MB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.7785, allocations: 4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.7799, allocations: 0.5542 MB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.7802, allocations: 123.2 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.782, allocations: 0.5921 MB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001548/0.7836, allocations: 1.57 MB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.784, allocations: 249.2 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004908/0.7845, allocations: 0.5216 MB / 1.026 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005641/0.785, allocations: 0.6071 MB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.7852, allocations: 88 kB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009616/0.7862, allocations: 0.5735 MB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005063/0.7867, allocations: 0.5726 MB / 1.028 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007743/0.7875, allocations: 0.8393 MB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.7903, allocations: 3.318 MB / 1.032 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.7903, allocations: 3.938 kB / 1.032 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7903, allocations: 0 / 1.032 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.971e-05/0.7903, allocations: 0 / 1.032 GB, free: 2.59 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.003414/0.7937, allocations: 2.162 MB / 1.034 GB, free: 364 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.7938, allocations: 12.02 kB / 1.034 GB, free: 352 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006205/0.8, allocations: 0.6466 MB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.8026, allocations: 1.631 MB / 1.037 GB, free: 13.99 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.8028, allocations: 136.5 kB / 1.037 GB, free: 13.85 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.803, allocations: 28.38 kB / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.8064, allocations: 1.895 MB / 1.039 GB, free: 11.92 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.8064, allocations: 0 / 1.039 GB, free: 11.92 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.8065, allocations: 16 kB / 1.039 GB, free: 11.9 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.8065, allocations: 4 kB / 1.039 GB, free: 11.9 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005073/0.8116, allocations: 2.618 MB / 1.041 GB, free: 9.277 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008206/0.8198, allocations: 4.597 MB / 1.046 GB, free: 4.609 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00967/0.8295, allocations: 2.91 MB / 1.049 GB, free: 1.691 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/0.8318, allocations: 1.181 MB / 1.05 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-05/0.8319, allocations: 16.42 kB / 1.05 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003448/0.8354, allocations: 1.781 MB / 1.052 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 4.488e-06/0.8354, allocations: 3.938 kB / 1.052 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.007828/0.8432, allocations: 3.633 MB / 1.055 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.689e-05/0.8434, allocations: 97.66 kB / 1.055 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004392/0.8478, allocations: 2.759 MB / 1.058 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002628/0.848, allocations: 53.69 kB / 1.058 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007442/0.8488, allocations: 0.7009 MB / 1.059 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.849, allocations: 177.4 kB / 1.059 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000335/0.8494, allocations: 150.1 kB / 1.059 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.8495, allocations: 337.9 kB / 1.059 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002574/0.8521, allocations: 1.45 MB / 1.061 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/0.8546, allocations: 1.441 MB / 1.062 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004457/0.8591, allocations: 2.211 MB / 1.064 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.8591, allocations: 0 / 1.064 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005812/0.8649, allocations: 2.987 MB / 1.067 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.339e-05/0.865, allocations: 83.38 kB / 1.067 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.865, allocations: 0 / 1.067 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.865, allocations: 0 / 1.067 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.8665, allocations: 191.6 kB / 1.067 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.8666, allocations: 3.984 kB / 1.067 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.8683, allocations: 103.6 kB / 1.067 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.8685, allocations: 55.84 kB / 1.068 GB, free: 14.11 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.00149/0.87, allocations: 0.7768 MB / 1.068 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000489/0.8705, allocations: 185.8 kB / 1.068 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005881/0.8764, allocations: 2.669 MB / 1.071 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.8764, allocations: 8 kB / 1.071 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.8764, allocations: 0 / 1.071 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.8764, allocations: 3.984 kB / 1.071 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/0.8797, allocations: 2.334 MB / 1.073 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.8797, allocations: 0 / 1.073 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.8811, allocations: 179.7 kB / 1.074 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.8811, allocations: 4 kB / 1.074 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.682e-05/0.8812, allocations: 35.94 kB / 1.074 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.8812, allocations: 0 / 1.074 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/0.8812, allocations: 4 kB / 1.074 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005372/0.8866, allocations: 2.555 MB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009989/0.8876, allocations: 0.5844 MB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/0.8879, allocations: 55.97 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.8892, allocations: 119.9 kB / 1.077 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.8894, allocations: 60.42 kB / 1.077 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.8895, allocations: 47.94 kB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002905/0.8924, allocations: 1.98 MB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8924, allocations: 0 / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00112/0.8936, allocations: 375.7 kB / 1.079 GB, free: 1.988 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.0006364/0.8942, allocations: 253.3 kB / 1.079 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00575/0.9, allocations: 2.977 MB / 1.082 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.9, allocations: 0 / 1.082 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002554/0.9026, allocations: 1.35 MB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.9048, allocations: 448.2 kB / 1.084 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007757/0.9126, allocations: 4.583 MB / 1.089 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.9139, allocations: 1.6 MB / 1.09 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002029/0.9159, allocations: 0.611 MB / 1.091 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/0.9164, allocations: 131.3 kB / 1.091 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of SimCode: time 1.312e-06/0.9164, allocations: 0 / 1.091 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of Templates: time 0.05063/0.9671, allocations: 31.56 MB / 1.122 GB, free: 6.625 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=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/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