Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.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.ApparatusDewPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|adp.bypass|m_flow.y|adp.hADP|hEvaIn.y|adp.XADP|XEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|adp.bypass|m_flow.y|adp.hADP|hEvaIn.y|adp.XADP|XEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009129/0.0009129, 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.0009757/0.0009757, allocations: 177.3 kB / 15.94 MB, free: 228 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.442/1.442, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.673/2.673, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 11.94 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9534/0.9538, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint): time 0.003103/0.957, allocations: 2.426 MB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1602/1.117, allocations: 130.7 MB / 1.151 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/1.118, allocations: 4 kB / 1.151 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/1.12, allocations: 0.6426 MB / 1.151 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/1.121, allocations: 0.5024 MB / 1.152 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001497/1.123, allocations: 485.9 kB / 1.152 GB, free: 10 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001125/1.124, allocations: 0.8941 MB / 1.153 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/1.124, allocations: 186.7 kB / 1.153 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000372/1.124, allocations: 394.5 kB / 1.154 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000724/1.125, allocations: 0.4981 MB / 1.154 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.883e-05/1.125, allocations: 36 kB / 1.154 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/1.127, allocations: 0.8113 MB / 1.155 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002203/1.127, allocations: 251 kB / 1.155 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/1.128, allocations: 292.9 kB / 1.156 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/1.129, allocations: 1.882 MB / 1.158 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/1.129, allocations: 0 / 1.158 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.535e-06/1.129, allocations: 4 kB / 1.158 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.506e-05/1.129, allocations: 0 / 1.158 GB, free: 4.754 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.003136/1.133, allocations: 1.821 MB / 1.159 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.133, allocations: 11.98 kB / 1.159 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01673/1.149, allocations: 2.308 MB / 1.162 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/1.152, allocations: 1.033 MB / 1.163 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/1.152, allocations: 16.23 kB / 1.163 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/1.152, allocations: 24 kB / 1.163 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005336/1.157, allocations: 1.257 MB / 1.164 GB, free: 14.16 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.157, allocations: 0 / 1.164 GB, free: 14.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/1.157, allocations: 4 kB / 1.164 GB, free: 14.15 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/1.157, allocations: 4 kB / 1.164 GB, free: 14.15 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009819/1.167, allocations: 2.088 MB / 1.166 GB, free: 12.06 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/1.177, allocations: 2.979 MB / 1.169 GB, free: 9.016 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01327/1.19, allocations: 2.776 MB / 1.171 GB, free: 6.219 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006319/1.191, allocations: 441.5 kB / 1.172 GB, free: 5.695 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005142/1.196, allocations: 1.229 MB / 1.173 GB, free: 4.441 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.984e-06/1.196, allocations: 4 kB / 1.173 GB, free: 4.438 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.03357/1.23, allocations: 4.898 MB / 1.178 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.23, allocations: 132.5 kB / 1.178 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/1.233, allocations: 2.082 MB / 1.18 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002391/1.234, allocations: 33.7 kB / 1.18 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/1.234, allocations: 0.5861 MB / 1.181 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/1.234, allocations: 63.22 kB / 1.181 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/1.234, allocations: 4 kB / 1.181 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.234, allocations: 326 kB / 1.181 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005865/1.24, allocations: 1.202 MB / 1.182 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005817/1.246, allocations: 1.242 MB / 1.183 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005696/1.252, allocations: 1.13 MB / 1.185 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/1.252, allocations: 0 / 1.185 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0279/1.28, allocations: 4.137 MB / 1.189 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/1.28, allocations: 223.3 kB / 1.189 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.28, allocations: 4 kB / 1.189 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00414/1.284, allocations: 0.9325 MB / 1.19 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/1.287, allocations: 439.4 kB / 1.19 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/1.297, allocations: 8.191 MB / 1.198 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/1.301, allocations: 483.1 kB / 1.199 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/1.302, allocations: 43.91 kB / 1.199 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/1.302, allocations: 4 kB / 1.199 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.026/1.328, allocations: 3.852 MB / 1.202 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.328, allocations: 0 / 1.202 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/1.33, allocations: 0.7649 MB / 1.203 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/1.333, allocations: 423.5 kB / 1.204 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006793/1.34, allocations: 6.909 MB / 1.21 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003655/1.344, allocations: 467.3 kB / 1.211 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/1.344, allocations: 35.97 kB / 1.211 GB, free: 12.52 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,adp.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 (34): * Single equations (assignments): 28 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001208/1.345, allocations: 0.6781 MB / 1.211 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/1.346, allocations: 146.2 kB / 1.212 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0258/1.371, allocations: 3.547 MB / 1.215 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/1.371, allocations: 4 kB / 1.215 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.371, allocations: 0 / 1.215 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/1.371, allocations: 0 / 1.215 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002778/1.374, allocations: 0.995 MB / 1.216 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/1.374, allocations: 0 / 1.216 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/1.377, allocations: 403.5 kB / 1.216 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008393/1.378, allocations: 164.7 kB / 1.217 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001922/1.378, allocations: 23.95 kB / 1.217 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/1.379, allocations: 0.6538 MB / 1.217 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.379, allocations: 0 / 1.217 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02629/1.406, allocations: 3.498 MB / 1.221 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.407, allocations: 378.9 kB / 1.221 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004692/1.407, allocations: 8 kB / 1.221 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003353/1.411, allocations: 411.4 kB / 1.221 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/1.411, allocations: 27.95 kB / 1.221 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.411, allocations: 27.97 kB / 1.221 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003396/1.415, allocations: 1.503 MB / 1.223 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.91e-07/1.415, allocations: 0 / 1.223 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002549/1.417, allocations: 0.5233 MB / 1.223 GB, free: 15.39 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,adp.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 (16): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007588/1.418, allocations: 233.3 kB / 1.224 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01908/1.437, allocations: 5.131 MB / 1.229 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.437, allocations: 0 / 1.229 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005367/1.442, allocations: 1.19 MB / 1.23 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/1.444, allocations: 337.6 kB / 1.23 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/1.465, allocations: 4.721 MB / 1.235 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/1.467, allocations: 1.44 MB / 1.236 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001712/1.468, allocations: 268.9 kB / 1.236 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000521/1.469, allocations: 67.36 kB / 1.236 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of SimCode: time 1.132e-06/1.469, allocations: 0 / 1.236 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of Templates: time 0.6936/2.162, allocations: 28.78 MB / 1.265 GB, free: 223.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDewPoint.csv","../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches