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.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.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.0009964/0.0009962, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007523/0.007523, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.656/2.656, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003877, allocations: 8 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8674/0.8678, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.003296/0.8712, allocations: 2.639 MB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1823/1.053, allocations: 150.8 MB / 1.173 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004897/1.054, allocations: 0 / 1.173 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/1.056, allocations: 0.5367 MB / 1.173 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002173/1.058, allocations: 0.6145 MB / 1.174 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/1.06, allocations: 0.5494 MB / 1.174 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001738/1.062, allocations: 1.295 MB / 1.176 GB, free: 2.871 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003505/1.062, allocations: 190.5 kB / 1.176 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007533/1.063, allocations: 434.1 kB / 1.176 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/1.064, allocations: 0.5875 MB / 1.177 GB, free: 1.656 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002743/1.065, allocations: 56 kB / 1.177 GB, free: 1.602 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/1.067, allocations: 1.244 MB / 1.178 GB, free: 364 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005085/1.068, allocations: 362.7 kB / 1.179 GB, free: 0 / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001325/1.069, allocations: 0.6583 MB / 1.179 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004299/1.073, allocations: 2.733 MB / 1.182 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.073, allocations: 0 / 1.182 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.315e-06/1.073, allocations: 0 / 1.182 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.845e-05/1.073, allocations: 7.938 kB / 1.182 GB, free: 12.58 MB / 0.9356 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.004028/1.078, allocations: 1.879 MB / 1.184 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/1.078, allocations: 16.02 kB / 1.184 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01623/1.094, allocations: 2.184 MB / 1.186 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/1.097, allocations: 1.452 MB / 1.187 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/1.097, allocations: 16 kB / 1.187 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/1.098, allocations: 23.94 kB / 1.187 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00558/1.103, allocations: 1.218 MB / 1.188 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.103, allocations: 4 kB / 1.188 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/1.103, allocations: 4 kB / 1.189 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.103, allocations: 4 kB / 1.189 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/1.113, allocations: 2.076 MB / 1.191 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/1.125, allocations: 3.665 MB / 1.194 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/1.136, allocations: 2.165 MB / 1.196 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005026/1.141, allocations: 1.051 MB / 1.197 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007961/1.142, allocations: 0.522 MB / 1.198 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005301/1.147, allocations: 1.183 MB / 1.199 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 2.645e-06/1.147, allocations: 0 / 1.199 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.01666/1.164, allocations: 3.309 MB / 1.202 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/1.164, allocations: 110.8 kB / 1.202 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005069/1.169, allocations: 2.472 MB / 1.205 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001763/1.169, allocations: 41.7 kB / 1.205 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007027/1.17, allocations: 0.5937 MB / 1.205 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/1.17, allocations: 66.95 kB / 1.205 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/1.17, allocations: 53.69 kB / 1.205 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.171, allocations: 326 kB / 1.206 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005351/1.176, allocations: 1.175 MB / 1.207 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005341/1.181, allocations: 1.226 MB / 1.208 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009837/1.191, allocations: 2.048 MB / 1.21 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/1.191, allocations: 0 / 1.21 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01308/1.204, allocations: 2.928 MB / 1.213 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/1.204, allocations: 138.8 kB / 1.213 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.205, allocations: 0 / 1.213 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003735/1.208, allocations: 0.8147 MB / 1.214 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003415/1.212, allocations: 0.4915 MB / 1.214 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/1.222, allocations: 7.429 MB / 1.222 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/1.226, allocations: 463 kB / 1.222 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/1.226, allocations: 35.97 kB / 1.222 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/1.226, allocations: 7.938 kB / 1.222 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01129/1.238, allocations: 2.6 MB / 1.225 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.238, allocations: 4 kB / 1.225 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/1.24, allocations: 0.6391 MB / 1.225 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003307/1.243, allocations: 495.3 kB / 1.226 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006964/1.25, allocations: 6.185 MB / 1.232 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003784/1.254, allocations: 455.2 kB / 1.232 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/1.254, allocations: 31.97 kB / 1.232 GB, free: 7.336 MB / 0.9825 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 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,appDryPt.stage,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001536/1.256, allocations: 0.6786 MB / 1.233 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007177/1.257, allocations: 150.1 kB / 1.233 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/1.268, allocations: 2.333 MB / 1.235 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.268, allocations: 0 / 1.235 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/1.268, allocations: 4 kB / 1.235 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/1.268, allocations: 3.984 kB / 1.235 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/1.27, allocations: 1.259 MB / 1.237 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.27, allocations: 7.938 kB / 1.237 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002888/1.273, allocations: 447.3 kB / 1.237 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.273, allocations: 8 kB / 1.237 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-05/1.273, allocations: 15.98 kB / 1.237 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/1.273, allocations: 0 / 1.237 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.273, allocations: 0 / 1.237 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.284, allocations: 2.264 MB / 1.239 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.285, allocations: 419.1 kB / 1.24 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000521/1.286, allocations: 7.984 kB / 1.24 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003413/1.289, allocations: 399.5 kB / 1.24 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.289, allocations: 23.95 kB / 1.24 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.445e-05/1.289, allocations: 27.98 kB / 1.24 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004879/1.294, allocations: 1.771 MB / 1.242 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.294, allocations: 0 / 1.242 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003001/1.297, allocations: 0.5507 MB / 1.242 GB, free: 12.85 MB / 0.9981 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 (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.0009157/1.298, allocations: 245.6 kB / 1.243 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01892/1.317, allocations: 4.997 MB / 1.247 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.317, allocations: 0 / 1.247 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005285/1.322, allocations: 1.143 MB / 1.249 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/1.325, allocations: 362.9 kB / 1.249 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/1.348, allocations: 5.139 MB / 1.254 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5679/1.916, allocations: 1.414 MB / 1.255 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002203/1.918, allocations: 448 kB / 1.256 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/1.919, allocations: 86.78 kB / 1.256 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.302e-06/1.919, allocations: 4.688 kB / 1.256 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04824/1.967, allocations: 27.58 MB / 1.283 GB, free: 217.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