Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001764/0.001764, allocations: 84.59 kB / 19.76 MB, free: 2.023 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.002147/0.002147, allocations: 158.1 kB / 23.01 MB, free: 4.961 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.518/1.518, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.847/2.847, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002423/0.002423, allocations: 63.91 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166/1.168, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil): time 0.004248/1.173, allocations: 2.876 MB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004086/1.177, allocations: 3.068 MB / 1.16 GB, free: 29.39 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/1.177, allocations: 9.781 kB / 1.16 GB, free: 29.39 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/1.178, allocations: 0.5017 MB / 1.16 GB, free: 29.19 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002509/1.179, allocations: 140.3 kB / 1.16 GB, free: 29.1 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/1.18, allocations: 0.7185 MB / 1.161 GB, free: 28.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001413/1.182, allocations: 1.682 MB / 1.163 GB, free: 27.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/1.182, allocations: 109.3 kB / 1.163 GB, free: 27.92 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005447/1.182, allocations: 0.5951 MB / 1.163 GB, free: 27.66 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006694/1.183, allocations: 0.6019 MB / 1.164 GB, free: 27.38 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001971/1.183, allocations: 135.2 kB / 1.164 GB, free: 27.38 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/1.184, allocations: 0.6801 MB / 1.165 GB, free: 27.23 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005034/1.185, allocations: 0.6283 MB / 1.165 GB, free: 26.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006995/1.186, allocations: 0.6569 MB / 1.166 GB, free: 26.55 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00278/1.188, allocations: 3.459 MB / 1.169 GB, free: 25.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/1.188, allocations: 0 / 1.169 GB, free: 25.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.074e-06/1.188, allocations: 7.938 kB / 1.169 GB, free: 25.49 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.524e-05/1.188, allocations: 0 / 1.169 GB, free: 25.49 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.003618/1.192, allocations: 2.167 MB / 1.172 GB, free: 24.07 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.192, allocations: 10.06 kB / 1.172 GB, free: 24.07 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007115/1.199, allocations: 0.6605 MB / 1.172 GB, free: 23.94 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00397/1.203, allocations: 1.608 MB / 1.174 GB, free: 23.05 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/1.203, allocations: 196 kB / 1.174 GB, free: 22.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/1.204, allocations: 30.19 kB / 1.174 GB, free: 22.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004208/1.208, allocations: 1.924 MB / 1.176 GB, free: 22.24 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/1.208, allocations: 0 / 1.176 GB, free: 22.24 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/1.208, allocations: 13.53 kB / 1.176 GB, free: 22.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/1.208, allocations: 6.875 kB / 1.176 GB, free: 22.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006/1.214, allocations: 2.642 MB / 1.178 GB, free: 21.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/1.224, allocations: 4.103 MB / 1.182 GB, free: 19.81 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/1.235, allocations: 2.872 MB / 1.185 GB, free: 18.97 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002656/1.238, allocations: 1.183 MB / 1.186 GB, free: 18.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.378e-05/1.238, allocations: 10.91 kB / 1.186 GB, free: 18.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003659/1.242, allocations: 1.818 MB / 1.188 GB, free: 17.92 MB / 1.076 GB Notification: Performance of pre-optimization done (n=61): time 3.606e-06/1.242, allocations: 0 / 1.188 GB, free: 17.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=61): time 0.008984/1.251, allocations: 3.706 MB / 1.192 GB, free: 16.64 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/1.251, allocations: 96.17 kB / 1.192 GB, free: 16.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004666/1.255, allocations: 2.748 MB / 1.195 GB, free: 15.58 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003085/1.256, allocations: 54.88 kB / 1.195 GB, free: 15.53 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007085/1.256, allocations: 0.6936 MB / 1.195 GB, free: 14.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/1.256, allocations: 195.7 kB / 1.195 GB, free: 14.83 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/1.257, allocations: 149.1 kB / 1.196 GB, free: 14.79 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/1.257, allocations: 336.7 kB / 1.196 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00303/1.26, allocations: 1.534 MB / 1.197 GB, free: 13.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002963/1.263, allocations: 1.51 MB / 1.199 GB, free: 13.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005107/1.268, allocations: 2.225 MB / 1.201 GB, free: 12.55 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.268, allocations: 1.281 kB / 1.201 GB, free: 12.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006752/1.275, allocations: 3.089 MB / 1.204 GB, free: 11.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.478e-05/1.275, allocations: 84.05 kB / 1.204 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.275, allocations: 0 / 1.204 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.275, allocations: 2.75 kB / 1.204 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/1.276, allocations: 185.7 kB / 1.204 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.276, allocations: 2.25 kB / 1.204 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/1.278, allocations: 108.8 kB / 1.204 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/1.278, allocations: 47.91 kB / 1.205 GB, free: 11.27 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.001832/1.28, allocations: 0.7782 MB / 1.205 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/1.281, allocations: 189.1 kB / 1.205 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006163/1.287, allocations: 2.706 MB / 1.208 GB, free: 9.859 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/1.287, allocations: 9.312 kB / 1.208 GB, free: 9.855 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.287, allocations: 4.516 kB / 1.208 GB, free: 9.852 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/1.287, allocations: 3.938 kB / 1.208 GB, free: 9.852 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/1.289, allocations: 1.859 MB / 1.21 GB, free: 9.078 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/1.289, allocations: 1.25 kB / 1.21 GB, free: 9.078 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.291, allocations: 186.9 kB / 1.21 GB, free: 9.059 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/1.291, allocations: 2.25 kB / 1.21 GB, free: 9.059 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/1.291, allocations: 36.5 kB / 1.21 GB, free: 9.051 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/1.291, allocations: 6.188 kB / 1.21 GB, free: 9.047 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.291, allocations: 0 / 1.21 GB, free: 9.047 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006416/1.297, allocations: 2.607 MB / 1.213 GB, free: 8.078 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/1.299, allocations: 0.5296 MB / 1.213 GB, free: 7.805 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002836/1.299, allocations: 59.91 kB / 1.213 GB, free: 7.785 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.3, allocations: 121.2 kB / 1.213 GB, free: 7.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/1.301, allocations: 57.69 kB / 1.213 GB, free: 7.758 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/1.301, allocations: 42.97 kB / 1.213 GB, free: 7.754 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003894/1.305, allocations: 1.974 MB / 1.215 GB, free: 7.027 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.305, allocations: 0 / 1.215 GB, free: 7.027 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00157/1.306, allocations: 370.9 kB / 1.216 GB, free: 6.992 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.0005984/1.307, allocations: 254.5 kB / 1.216 GB, free: 6.852 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006228/1.313, allocations: 2.989 MB / 1.219 GB, free: 5.742 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/1.313, allocations: 3.938 kB / 1.219 GB, free: 5.738 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002848/1.316, allocations: 1.324 MB / 1.22 GB, free: 5.254 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/1.318, allocations: 477.9 kB / 1.221 GB, free: 5.066 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00898/1.327, allocations: 4.263 MB / 1.225 GB, free: 3.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/1.328, allocations: 1.012 MB / 1.226 GB, free: 2.984 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002329/1.331, allocations: 0.6005 MB / 1.226 GB, free: 2.859 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000554/1.331, allocations: 130.2 kB / 1.227 GB, free: 2.844 MB / 1.076 GB Notification: Performance of SimCode: time 1.132e-06/1.331, allocations: 0 / 1.227 GB, free: 2.844 MB / 1.076 GB Notification: Performance of Templates: time 0.06248/1.394, allocations: 35.05 MB / 1.261 GB, free: 11.41 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.sim & ./Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_DryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.63137777405791]