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.001694/0.001694, allocations: 106.9 kB / 16.4 MB, free: 6.508 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.001744/0.001744, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.499/1.499, allocations: 222.9 MB / 241 MB, free: 15.09 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.682/2.682, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 64.12 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005133/1.015, allocations: 3.086 MB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00565/1.021, allocations: 3.337 MB / 1.174 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003349/1.021, allocations: 7.938 kB / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/1.023, allocations: 0.5681 MB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000333/1.023, allocations: 130.9 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/1.025, allocations: 0.707 MB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001895/1.027, allocations: 1.683 MB / 1.177 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004078/1.028, allocations: 253.2 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000751/1.028, allocations: 0.5801 MB / 1.177 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007672/1.029, allocations: 0.615 MB / 1.178 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000193/1.029, allocations: 136 kB / 1.178 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/1.03, allocations: 0.6554 MB / 1.179 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000638/1.031, allocations: 0.6117 MB / 1.179 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009351/1.032, allocations: 0.8824 MB / 1.18 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004123/1.036, allocations: 3.434 MB / 1.184 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/1.036, allocations: 4 kB / 1.184 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.006e-06/1.036, allocations: 0 / 1.184 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.92e-05/1.036, allocations: 0 / 1.184 GB, free: 3.094 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.004108/1.04, allocations: 2.237 MB / 1.186 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/1.04, allocations: 12.03 kB / 1.186 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006307/1.047, allocations: 0.6553 MB / 1.186 GB, free: 112 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/1.05, allocations: 1.641 MB / 1.188 GB, free: 14.4 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/1.05, allocations: 132.5 kB / 1.188 GB, free: 14.26 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/1.05, allocations: 40.36 kB / 1.188 GB, free: 14.22 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003878/1.054, allocations: 1.88 MB / 1.19 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.054, allocations: 0 / 1.19 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/1.055, allocations: 23.98 kB / 1.19 GB, free: 12.31 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/1.055, allocations: 8 kB / 1.19 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005839/1.06, allocations: 2.61 MB / 1.193 GB, free: 9.688 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009592/1.07, allocations: 4.609 MB / 1.197 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/1.08, allocations: 2.896 MB / 1.2 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/1.083, allocations: 1.193 MB / 1.201 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.111e-05/1.083, allocations: 16.42 kB / 1.201 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003743/1.087, allocations: 1.777 MB / 1.203 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 4.949e-06/1.087, allocations: 0 / 1.203 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.009407/1.096, allocations: 3.654 MB / 1.206 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.097, allocations: 97.64 kB / 1.207 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006175/1.103, allocations: 2.759 MB / 1.209 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0005077/1.103, allocations: 53.69 kB / 1.209 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009324/1.104, allocations: 0.6933 MB / 1.21 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005209/1.105, allocations: 190.4 kB / 1.21 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005847/1.105, allocations: 154.1 kB / 1.21 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002142/1.106, allocations: 337.9 kB / 1.211 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/1.109, allocations: 1.458 MB / 1.212 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/1.112, allocations: 1.434 MB / 1.213 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005266/1.117, allocations: 2.207 MB / 1.216 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/1.117, allocations: 3.938 kB / 1.216 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.007125/1.124, allocations: 2.988 MB / 1.218 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/1.124, allocations: 87.38 kB / 1.219 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.124, allocations: 0 / 1.219 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/1.124, allocations: 0 / 1.219 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/1.126, allocations: 195.6 kB / 1.219 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/1.126, allocations: 0 / 1.219 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/1.128, allocations: 103.6 kB / 1.219 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/1.128, allocations: 51.94 kB / 1.219 GB, free: 14.5 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.001706/1.129, allocations: 0.7801 MB / 1.22 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008647/1.13, allocations: 194.8 kB / 1.22 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006775/1.137, allocations: 2.661 MB / 1.222 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.137, allocations: 4 kB / 1.222 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.137, allocations: 4 kB / 1.222 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/1.137, allocations: 3.984 kB / 1.222 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/1.141, allocations: 2.323 MB / 1.225 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/1.141, allocations: 4 kB / 1.225 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/1.143, allocations: 183.7 kB / 1.225 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/1.143, allocations: 0 / 1.225 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/1.143, allocations: 39.94 kB / 1.225 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.143, allocations: 7.875 kB / 1.225 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.143, allocations: 0 / 1.225 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006533/1.149, allocations: 2.572 MB / 1.227 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/1.151, allocations: 0.5894 MB / 1.228 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006277/1.152, allocations: 55.98 kB / 1.228 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/1.154, allocations: 123.8 kB / 1.228 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/1.154, allocations: 56.48 kB / 1.228 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/1.154, allocations: 43.94 kB / 1.228 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004459/1.158, allocations: 1.976 MB / 1.23 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.158, allocations: 0 / 1.23 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001688/1.16, allocations: 379.6 kB / 1.231 GB, free: 2.348 MB / 0.9512 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.0009102/1.161, allocations: 253.1 kB / 1.231 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006537/1.168, allocations: 2.985 MB / 1.234 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.168, allocations: 0 / 1.234 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003021/1.171, allocations: 1.349 MB / 1.235 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/1.174, allocations: 477.6 kB / 1.236 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009921/1.184, allocations: 4.238 MB / 1.24 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/1.186, allocations: 1.604 MB / 1.241 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002375/1.188, allocations: 0.5915 MB / 1.242 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000818/1.189, allocations: 139.3 kB / 1.242 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of SimCode: time 1.182e-06/1.189, allocations: 0 / 1.242 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of Templates: time 0.06306/1.252, allocations: 32.94 MB / 1.274 GB, free: 5.934 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 -s cvode -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