Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0013/0.0013, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.00149/0.00149, allocations: 177.3 kB / 15.95 MB, free: 216 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.515/1.515, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.91/2.91, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003727, allocations: 11.98 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8659/0.8662, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.003533/0.8698, allocations: 2.423 MB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1826/1.052, allocations: 130.6 MB / 1.151 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004585/1.053, allocations: 4 kB / 1.151 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002228/1.055, allocations: 0.6426 MB / 1.151 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00168/1.057, allocations: 0.5063 MB / 1.152 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/1.059, allocations: 457.8 kB / 1.152 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001355/1.06, allocations: 0.8833 MB / 1.153 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/1.06, allocations: 190.6 kB / 1.153 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000641/1.061, allocations: 390.5 kB / 1.154 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009653/1.062, allocations: 0.5097 MB / 1.154 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/1.062, allocations: 36 kB / 1.154 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/1.064, allocations: 0.7956 MB / 1.155 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003385/1.064, allocations: 255 kB / 1.155 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003593/1.065, allocations: 281 kB / 1.156 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002297/1.067, allocations: 1.878 MB / 1.157 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/1.067, allocations: 3.938 kB / 1.157 GB, free: 4.883 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.994e-06/1.067, allocations: 4 kB / 1.157 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.301e-05/1.067, allocations: 3.938 kB / 1.157 GB, free: 4.875 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.003926/1.071, allocations: 1.813 MB / 1.159 GB, free: 3 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/1.071, allocations: 12.03 kB / 1.159 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/1.088, allocations: 2.195 MB / 1.161 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002162/1.09, allocations: 1.025 MB / 1.162 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/1.09, allocations: 16 kB / 1.162 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.715e-05/1.09, allocations: 20 kB / 1.162 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005406/1.095, allocations: 1.221 MB / 1.164 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/1.096, allocations: 0 / 1.164 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.846e-05/1.096, allocations: 15.88 kB / 1.164 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.096, allocations: 0 / 1.164 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/1.106, allocations: 2.064 MB / 1.166 GB, free: 12.36 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009967/1.116, allocations: 3.283 MB / 1.169 GB, free: 8.926 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/1.126, allocations: 2.18 MB / 1.171 GB, free: 6.734 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006226/1.127, allocations: 445.4 kB / 1.171 GB, free: 6.207 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005362/1.132, allocations: 1.177 MB / 1.173 GB, free: 5.012 MB / 0.92 GB Notification: Performance of pre-optimization done (n=23): time 3.346e-06/1.132, allocations: 0 / 1.173 GB, free: 5.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=23): time 0.0167/1.149, allocations: 3.387 MB / 1.176 GB, free: 1.59 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/1.149, allocations: 110.8 kB / 1.176 GB, free: 1.457 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/1.152, allocations: 2.082 MB / 1.178 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/1.153, allocations: 33.7 kB / 1.178 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005921/1.153, allocations: 0.5861 MB / 1.179 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/1.153, allocations: 70.94 kB / 1.179 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/1.153, allocations: 12 kB / 1.179 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.154, allocations: 333.8 kB / 1.179 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005273/1.159, allocations: 1.171 MB / 1.18 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005358/1.164, allocations: 1.198 MB / 1.181 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004907/1.169, allocations: 1.091 MB / 1.182 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/1.169, allocations: 0 / 1.182 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01264/1.182, allocations: 2.885 MB / 1.185 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.182, allocations: 138.8 kB / 1.185 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.182, allocations: 0 / 1.185 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003464/1.186, allocations: 0.7679 MB / 1.186 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003252/1.189, allocations: 0.4954 MB / 1.187 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009779/1.199, allocations: 7.54 MB / 1.194 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00352/1.202, allocations: 467 kB / 1.194 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/1.202, allocations: 31.97 kB / 1.194 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/1.202, allocations: 7.938 kB / 1.194 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01091/1.213, allocations: 2.608 MB / 1.197 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.213, allocations: 0 / 1.197 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001981/1.215, allocations: 0.608 MB / 1.198 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/1.219, allocations: 495.3 kB / 1.198 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005567/1.224, allocations: 6.248 MB / 1.204 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003442/1.228, allocations: 451.2 kB / 1.205 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/1.228, allocations: 31.97 kB / 1.205 GB, free: 2.945 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: 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.001105/1.229, allocations: 0.6781 MB / 1.205 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/1.229, allocations: 150.1 kB / 1.205 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/1.24, allocations: 2.338 MB / 1.208 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/1.24, allocations: 7.984 kB / 1.208 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.24, allocations: 288 / 1.208 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/1.24, allocations: 0 / 1.208 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/1.242, allocations: 1.131 MB / 1.209 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.242, allocations: 8 kB / 1.209 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002745/1.245, allocations: 459.3 kB / 1.209 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/1.245, allocations: 0 / 1.209 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.23e-05/1.245, allocations: 15.97 kB / 1.209 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.245, allocations: 0 / 1.209 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.245, allocations: 4 kB / 1.209 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009933/1.255, allocations: 2.257 MB / 1.211 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.257, allocations: 359 kB / 1.212 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/1.257, allocations: 8 kB / 1.212 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/1.26, allocations: 399.5 kB / 1.212 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.26, allocations: 23.95 kB / 1.212 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-05/1.26, allocations: 27.97 kB / 1.212 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002548/1.262, allocations: 1.487 MB / 1.214 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.262, allocations: 4 kB / 1.214 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001985/1.264, allocations: 0.5233 MB / 1.214 GB, free: 8.945 MB / 0.9669 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.0006888/1.265, allocations: 228.2 kB / 1.214 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01761/1.283, allocations: 4.99 MB / 1.219 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/1.283, allocations: 0 / 1.219 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004971/1.288, allocations: 1.151 MB / 1.22 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/1.289, allocations: 336.9 kB / 1.221 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/1.307, allocations: 4.41 MB / 1.225 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/1.308, allocations: 1.445 MB / 1.226 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001714/1.31, allocations: 272.9 kB / 1.227 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/1.31, allocations: 71.36 kB / 1.227 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of SimCode: time 1.132e-06/1.31, allocations: 0 / 1.227 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.04226/1.352, allocations: 23.62 MB / 1.25 GB, free: 4.418 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint.csv","../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches