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.004844/0.004844, allocations: 104.4 kB / 15.73 MB, free: 6.027 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.001081/0.001081, allocations: 188.7 kB / 16.67 MB, free: 5.957 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.627/2.627, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 68.09 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.035, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.00439/1.04, allocations: 3.094 MB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004524/1.044, allocations: 3.333 MB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/1.045, allocations: 7.938 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/1.046, allocations: 0.5603 MB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002291/1.046, allocations: 135 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/1.048, allocations: 0.706 MB / 1.174 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001646/1.05, allocations: 1.683 MB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003633/1.05, allocations: 253.2 kB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005987/1.051, allocations: 0.5918 MB / 1.177 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007072/1.051, allocations: 0.5994 MB / 1.177 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002088/1.052, allocations: 140 kB / 1.177 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/1.053, allocations: 0.6515 MB / 1.178 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005511/1.053, allocations: 0.6196 MB / 1.179 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007232/1.054, allocations: 0.8746 MB / 1.18 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00341/1.057, allocations: 3.442 MB / 1.183 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.057, allocations: 0 / 1.183 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.896e-06/1.057, allocations: 0 / 1.183 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.101e-05/1.058, allocations: 0 / 1.183 GB, free: 3.117 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.003697/1.061, allocations: 2.239 MB / 1.185 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/1.061, allocations: 8.031 kB / 1.185 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005938/1.067, allocations: 0.6553 MB / 1.186 GB, free: 140 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/1.07, allocations: 1.645 MB / 1.187 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/1.07, allocations: 144.5 kB / 1.187 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/1.07, allocations: 32.31 kB / 1.187 GB, free: 14.24 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003502/1.074, allocations: 1.884 MB / 1.189 GB, free: 12.35 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/1.074, allocations: 4 kB / 1.189 GB, free: 12.35 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/1.074, allocations: 15.98 kB / 1.189 GB, free: 12.33 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/1.074, allocations: 7.938 kB / 1.189 GB, free: 12.32 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005008/1.079, allocations: 2.618 MB / 1.192 GB, free: 9.699 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008327/1.087, allocations: 4.601 MB / 1.196 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009599/1.097, allocations: 2.892 MB / 1.199 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002323/1.099, allocations: 1.189 MB / 1.2 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.542e-05/1.099, allocations: 16.42 kB / 1.2 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004202/1.104, allocations: 1.781 MB / 1.202 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 6.743e-06/1.104, allocations: 3.984 kB / 1.202 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.008236/1.112, allocations: 3.65 MB / 1.206 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/1.112, allocations: 101.7 kB / 1.206 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004221/1.116, allocations: 2.751 MB / 1.208 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002219/1.117, allocations: 57.69 kB / 1.209 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007387/1.117, allocations: 0.6972 MB / 1.209 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/1.118, allocations: 190.4 kB / 1.209 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/1.118, allocations: 158.1 kB / 1.21 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.118, allocations: 329.9 kB / 1.21 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/1.121, allocations: 1.458 MB / 1.211 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/1.123, allocations: 1.434 MB / 1.213 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00438/1.127, allocations: 2.211 MB / 1.215 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.128, allocations: 4 kB / 1.215 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006182/1.134, allocations: 2.984 MB / 1.218 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.003e-05/1.134, allocations: 83.31 kB / 1.218 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.134, allocations: 0 / 1.218 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.134, allocations: 4 kB / 1.218 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.135, allocations: 187.7 kB / 1.218 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/1.135, allocations: 7.984 kB / 1.218 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/1.137, allocations: 107.6 kB / 1.218 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.137, allocations: 43.94 kB / 1.218 GB, free: 14.53 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.001535/1.138, allocations: 0.7879 MB / 1.219 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/1.139, allocations: 182.8 kB / 1.219 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005434/1.144, allocations: 2.673 MB / 1.222 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/1.144, allocations: 4 kB / 1.222 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.144, allocations: 0 / 1.222 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/1.144, allocations: 3.984 kB / 1.222 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/1.147, allocations: 2.323 MB / 1.224 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.147, allocations: 4 kB / 1.224 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.149, allocations: 183.7 kB / 1.224 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/1.149, allocations: 4 kB / 1.224 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.563e-05/1.149, allocations: 39.88 kB / 1.224 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/1.149, allocations: 4 kB / 1.224 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.149, allocations: 0 / 1.224 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/1.154, allocations: 2.572 MB / 1.227 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.156, allocations: 0.5854 MB / 1.227 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/1.156, allocations: 59.97 kB / 1.227 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/1.157, allocations: 119.9 kB / 1.228 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/1.157, allocations: 56.48 kB / 1.228 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/1.158, allocations: 47.94 kB / 1.228 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002919/1.16, allocations: 1.98 MB / 1.23 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.7e-07/1.16, allocations: 0 / 1.23 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00118/1.162, allocations: 375.6 kB / 1.23 GB, free: 2.371 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.0006254/1.162, allocations: 255.3 kB / 1.23 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005372/1.168, allocations: 2.989 MB / 1.233 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.168, allocations: 0 / 1.233 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002519/1.17, allocations: 1.346 MB / 1.234 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/1.172, allocations: 471.7 kB / 1.235 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007813/1.18, allocations: 4.23 MB / 1.239 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/1.182, allocations: 1.6 MB / 1.241 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001916/1.184, allocations: 0.5954 MB / 1.241 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005086/1.184, allocations: 139.3 kB / 1.241 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of SimCode: time 1.203e-06/1.184, allocations: 4 kB / 1.241 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of Templates: time 0.05322/1.237, allocations: 32.89 MB / 1.273 GB, free: 6.023 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 -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