Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Cooling.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001272/0.001272, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.827/2.827, allocations: 437.7 MB / 0.7117 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004038, allocations: 11.94 kB / 0.8722 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.945/0.9454, allocations: 153.8 MB / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.003267/0.9487, allocations: 2.531 MB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1867/1.135, allocations: 140.5 MB / 1.162 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004808/1.136, allocations: 4 kB / 1.162 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001546/1.138, allocations: 0.5017 MB / 1.163 GB, free: 36 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/1.139, allocations: 489.6 kB / 1.163 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/1.141, allocations: 474.4 kB / 1.164 GB, free: 15.09 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001315/1.142, allocations: 1.089 MB / 1.165 GB, free: 14 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/1.142, allocations: 186.7 kB / 1.165 GB, free: 13.8 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004846/1.143, allocations: 430.3 kB / 1.165 GB, free: 13.38 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008462/1.144, allocations: 0.5721 MB / 1.166 GB, free: 12.8 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.734e-05/1.144, allocations: 60 kB / 1.166 GB, free: 12.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/1.146, allocations: 0.8266 MB / 1.167 GB, free: 11.92 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003231/1.146, allocations: 350.9 kB / 1.167 GB, free: 11.57 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002582/1.146, allocations: 284.9 kB / 1.167 GB, free: 11.29 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002164/1.148, allocations: 2.194 MB / 1.169 GB, free: 9.094 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.148, allocations: 0 / 1.169 GB, free: 9.094 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.266e-06/1.148, allocations: 7.984 kB / 1.169 GB, free: 9.086 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.552e-05/1.148, allocations: 0 / 1.169 GB, free: 9.086 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.003357/1.152, allocations: 1.898 MB / 1.171 GB, free: 7.125 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.152, allocations: 8.562 kB / 1.171 GB, free: 7.117 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01376/1.166, allocations: 2.199 MB / 1.173 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/1.169, allocations: 1.38 MB / 1.175 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/1.169, allocations: 16 kB / 1.175 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/1.169, allocations: 20 kB / 1.175 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004631/1.174, allocations: 1.214 MB / 1.176 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/1.174, allocations: 0 / 1.176 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/1.174, allocations: 4 kB / 1.176 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/1.174, allocations: 8 kB / 1.176 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008785/1.182, allocations: 2.064 MB / 1.178 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/1.194, allocations: 3.673 MB / 1.182 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008942/1.203, allocations: 2.17 MB / 1.184 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004178/1.207, allocations: 1.043 MB / 1.185 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007925/1.208, allocations: 0.5298 MB / 1.185 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004529/1.212, allocations: 1.169 MB / 1.186 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 5.741e-06/1.212, allocations: 0 / 1.186 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.01393/1.226, allocations: 3.313 MB / 1.19 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/1.227, allocations: 106.8 kB / 1.19 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005564/1.232, allocations: 2.468 MB / 1.192 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002177/1.232, allocations: 29.7 kB / 1.192 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008165/1.233, allocations: 0.59 MB / 1.193 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/1.233, allocations: 67.08 kB / 1.193 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.986e-05/1.233, allocations: 8 kB / 1.193 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.234, allocations: 329.9 kB / 1.193 GB, free: 304 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004546/1.238, allocations: 1.163 MB / 1.194 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004371/1.243, allocations: 1.206 MB / 1.195 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004107/1.247, allocations: 1.095 MB / 1.196 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.247, allocations: 0 / 1.196 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01099/1.258, allocations: 2.885 MB / 1.199 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/1.258, allocations: 134.9 kB / 1.199 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.258, allocations: 0 / 1.199 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003442/1.261, allocations: 0.7991 MB / 1.2 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/1.264, allocations: 499.4 kB / 1.201 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009711/1.274, allocations: 7.437 MB / 1.208 GB, free: 492 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00328/1.277, allocations: 463 kB / 1.208 GB, free: 28 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/1.277, allocations: 36.03 kB / 1.208 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/1.277, allocations: 7.938 kB / 1.208 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009551/1.287, allocations: 2.604 MB / 1.211 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.287, allocations: 0 / 1.211 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/1.289, allocations: 0.6432 MB / 1.212 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/1.292, allocations: 495.4 kB / 1.212 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00586/1.298, allocations: 6.178 MB / 1.218 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/1.301, allocations: 447.3 kB / 1.219 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/1.301, allocations: 39.91 kB / 1.219 GB, free: 5.035 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001141/1.302, allocations: 0.6781 MB / 1.219 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005972/1.303, allocations: 146.2 kB / 1.219 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009058/1.312, allocations: 2.34 MB / 1.222 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/1.312, allocations: 4 kB / 1.222 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/1.312, allocations: 0 / 1.222 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.312, allocations: 0 / 1.222 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/1.314, allocations: 1.255 MB / 1.223 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.314, allocations: 4 kB / 1.223 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/1.316, allocations: 447.4 kB / 1.223 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/1.316, allocations: 0 / 1.223 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/1.317, allocations: 19.97 kB / 1.223 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/1.317, allocations: 0 / 1.223 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.317, allocations: 4 kB / 1.223 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008603/1.325, allocations: 2.264 MB / 1.226 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009212/1.326, allocations: 427 kB / 1.226 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000401/1.327, allocations: 4 kB / 1.226 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002554/1.329, allocations: 403.5 kB / 1.226 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/1.329, allocations: 27.89 kB / 1.226 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/1.329, allocations: 27.98 kB / 1.226 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003438/1.333, allocations: 1.752 MB / 1.228 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.1e-07/1.333, allocations: 4 kB / 1.228 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002088/1.335, allocations: 0.5468 MB / 1.229 GB, free: 10.56 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006966/1.336, allocations: 238.2 kB / 1.229 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01534/1.351, allocations: 4.99 MB / 1.234 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.351, allocations: 0 / 1.234 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00439/1.355, allocations: 1.143 MB / 1.235 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/1.358, allocations: 359.8 kB / 1.235 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.376, allocations: 4.997 MB / 1.24 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/1.378, allocations: 1.423 MB / 1.241 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002072/1.38, allocations: 443.2 kB / 1.242 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/1.381, allocations: 91.36 kB / 1.242 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of SimCode: time 1.173e-06/1.381, allocations: 0 / 1.242 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of Templates: time 0.6665/2.047, allocations: 27.01 MB / 1.268 GB, free: 224.8 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches