Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002671/0.002671, allocations: 159.5 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.777/2.777, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 70.08 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.409, allocations: 169.9 MB / 1.117 GB, free: 2.586 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.005207/0.4142, allocations: 2.876 MB / 1.12 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005355/0.4196, allocations: 3.068 MB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.4198, allocations: 4 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.4213, allocations: 0.5131 MB / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.4216, allocations: 131 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.4236, allocations: 0.7213 MB / 1.125 GB, free: 11.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001957/0.4255, allocations: 1.684 MB / 1.126 GB, free: 9.562 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.4258, allocations: 109.8 kB / 1.126 GB, free: 9.441 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007367/0.4265, allocations: 0.5958 MB / 1.127 GB, free: 8.844 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008323/0.4274, allocations: 0.6032 MB / 1.128 GB, free: 8.238 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.4276, allocations: 140 kB / 1.128 GB, free: 8.102 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.4289, allocations: 0.6827 MB / 1.128 GB, free: 7.418 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006572/0.4296, allocations: 0.6311 MB / 1.129 GB, free: 6.785 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007887/0.4303, allocations: 0.653 MB / 1.13 GB, free: 6.129 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004043/0.4344, allocations: 3.465 MB / 1.133 GB, free: 2.652 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.4344, allocations: 0 / 1.133 GB, free: 2.652 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4344, allocations: 0 / 1.133 GB, free: 2.652 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.602e-05/0.4344, allocations: 0 / 1.133 GB, free: 2.652 MB / 1.076 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.004245/0.4387, allocations: 2.181 MB / 1.135 GB, free: 424 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.4387, allocations: 12.03 kB / 1.135 GB, free: 412 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7948/1.234, allocations: 0.6514 MB / 1.136 GB, free: 56.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/1.237, allocations: 1.603 MB / 1.137 GB, free: 56.33 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/1.237, allocations: 195.6 kB / 1.137 GB, free: 56.2 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/1.237, allocations: 32.22 kB / 1.138 GB, free: 56.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003298/1.24, allocations: 1.913 MB / 1.139 GB, free: 55.9 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/1.24, allocations: 3.938 kB / 1.139 GB, free: 55.89 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.836e-05/1.241, allocations: 18.05 kB / 1.139 GB, free: 55.89 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/1.241, allocations: 6 kB / 1.139 GB, free: 55.89 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005088/1.246, allocations: 2.645 MB / 1.142 GB, free: 55.12 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00756/1.253, allocations: 4.076 MB / 1.146 GB, free: 53.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/1.263, allocations: 2.875 MB / 1.149 GB, free: 52.74 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002283/1.265, allocations: 1.179 MB / 1.15 GB, free: 52.33 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.378e-05/1.266, allocations: 15.94 kB / 1.15 GB, free: 52.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003112/1.269, allocations: 1.81 MB / 1.152 GB, free: 51.71 MB / 1.076 GB Notification: Performance of pre-optimization done (n=61): time 3.927e-06/1.269, allocations: 0 / 1.152 GB, free: 51.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=61): time 0.008029/1.277, allocations: 3.713 MB / 1.155 GB, free: 50.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/1.277, allocations: 100.2 kB / 1.155 GB, free: 50.31 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00408/1.281, allocations: 2.741 MB / 1.158 GB, free: 49.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002611/1.281, allocations: 53.92 kB / 1.158 GB, free: 49.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006476/1.282, allocations: 0.7009 MB / 1.159 GB, free: 48.76 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/1.282, allocations: 186.8 kB / 1.159 GB, free: 48.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/1.282, allocations: 158.5 kB / 1.159 GB, free: 48.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/1.282, allocations: 325.7 kB / 1.159 GB, free: 48.26 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003133/1.286, allocations: 1.534 MB / 1.161 GB, free: 47.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/1.289, allocations: 1.518 MB / 1.162 GB, free: 47.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005265/1.294, allocations: 2.228 MB / 1.165 GB, free: 46.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.294, allocations: 1.469 kB / 1.165 GB, free: 46.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006977/1.301, allocations: 3.087 MB / 1.168 GB, free: 45.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.071e-05/1.301, allocations: 86.55 kB / 1.168 GB, free: 45.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.301, allocations: 0 / 1.168 GB, free: 45.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/1.301, allocations: 2.469 kB / 1.168 GB, free: 45.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/1.303, allocations: 186.1 kB / 1.168 GB, free: 45.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/1.303, allocations: 6.031 kB / 1.168 GB, free: 45.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/1.305, allocations: 109.2 kB / 1.168 GB, free: 45.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/1.305, allocations: 45.17 kB / 1.168 GB, free: 45.07 MB / 1.076 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.001692/1.306, allocations: 0.7826 MB / 1.169 GB, free: 44.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004971/1.307, allocations: 183.9 kB / 1.169 GB, free: 44.59 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006248/1.313, allocations: 2.703 MB / 1.172 GB, free: 43.67 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/1.313, allocations: 6.656 kB / 1.172 GB, free: 43.67 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/1.313, allocations: 0 / 1.172 GB, free: 43.67 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.313, allocations: 5.453 kB / 1.172 GB, free: 43.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/1.316, allocations: 1.868 MB / 1.173 GB, free: 42.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.316, allocations: 1.406 kB / 1.173 GB, free: 42.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/1.317, allocations: 176.9 kB / 1.174 GB, free: 42.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/1.317, allocations: 10.45 kB / 1.174 GB, free: 42.89 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.756e-05/1.318, allocations: 36.75 kB / 1.174 GB, free: 42.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/1.318, allocations: 2.344 kB / 1.174 GB, free: 42.89 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.318, allocations: 4.812 kB / 1.174 GB, free: 42.88 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006012/1.324, allocations: 2.593 MB / 1.176 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.325, allocations: 0.5298 MB / 1.177 GB, free: 41.66 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/1.325, allocations: 64.5 kB / 1.177 GB, free: 41.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/1.327, allocations: 117.6 kB / 1.177 GB, free: 41.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/1.327, allocations: 57.47 kB / 1.177 GB, free: 41.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.327, allocations: 47.89 kB / 1.177 GB, free: 41.6 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003775/1.331, allocations: 1.969 MB / 1.179 GB, free: 40.88 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/1.331, allocations: 4 kB / 1.179 GB, free: 40.88 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001621/1.333, allocations: 375.2 kB / 1.179 GB, free: 40.84 MB / 1.076 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.000659/1.333, allocations: 252.8 kB / 1.18 GB, free: 40.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006498/1.34, allocations: 2.986 MB / 1.182 GB, free: 39.6 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.34, allocations: 4 kB / 1.182 GB, free: 39.59 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003152/1.343, allocations: 1.322 MB / 1.184 GB, free: 39.12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/1.345, allocations: 473.6 kB / 1.184 GB, free: 38.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00913/1.355, allocations: 4.262 MB / 1.188 GB, free: 37.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/1.356, allocations: 1.016 MB / 1.189 GB, free: 36.9 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002431/1.359, allocations: 0.6043 MB / 1.19 GB, free: 36.79 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00056/1.359, allocations: 136.1 kB / 1.19 GB, free: 36.77 MB / 1.076 GB Notification: Performance of SimCode: time 1.222e-06/1.359, allocations: 0 / 1.19 GB, free: 36.77 MB / 1.076 GB Notification: Performance of Templates: time 0.07109/1.43, allocations: 35.05 MB / 1.224 GB, free: 27.81 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.80656525795348]