Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00115/0.00115, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001435/0.001435, allocations: 168.7 kB / 15.95 MB, free: 204 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.636/1.636, allocations: 223.3 MB / 240 MB, free: 5.312 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 3.013/3.013, allocations: 437.7 MB / 0.7117 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004228, allocations: 15.94 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.07, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint): time 0.00357/1.074, allocations: 2.543 MB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.174/1.248, allocations: 140.6 MB / 1.162 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003936/1.248, allocations: 0 / 1.162 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/1.25, allocations: 0.5135 MB / 1.163 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001387/1.251, allocations: 485.4 kB / 1.163 GB, free: 15.52 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/1.253, allocations: 490.6 kB / 1.164 GB, free: 15.04 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001173/1.254, allocations: 1.084 MB / 1.165 GB, free: 13.95 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/1.254, allocations: 170.7 kB / 1.165 GB, free: 13.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004882/1.255, allocations: 442.3 kB / 1.165 GB, free: 13.34 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007696/1.255, allocations: 0.5604 MB / 1.166 GB, free: 12.78 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/1.255, allocations: 60 kB / 1.166 GB, free: 12.72 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/1.257, allocations: 0.8305 MB / 1.167 GB, free: 11.89 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003017/1.258, allocations: 342.8 kB / 1.167 GB, free: 11.55 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002779/1.258, allocations: 293 kB / 1.167 GB, free: 11.26 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/1.26, allocations: 2.194 MB / 1.169 GB, free: 9.059 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.26, allocations: 0 / 1.169 GB, free: 9.059 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.974e-06/1.26, allocations: 3.938 kB / 1.169 GB, free: 9.055 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.109e-05/1.26, allocations: 4 kB / 1.169 GB, free: 9.051 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.00325/1.263, allocations: 1.893 MB / 1.171 GB, free: 7.098 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.263, allocations: 12.56 kB / 1.171 GB, free: 7.086 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/1.278, allocations: 2.304 MB / 1.174 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/1.281, allocations: 1.388 MB / 1.175 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/1.281, allocations: 12.23 kB / 1.175 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-05/1.281, allocations: 24 kB / 1.175 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004801/1.286, allocations: 1.265 MB / 1.176 GB, free: 2.027 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/1.286, allocations: 4 kB / 1.176 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/1.286, allocations: 4 kB / 1.176 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/1.286, allocations: 4 kB / 1.176 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008524/1.295, allocations: 2.088 MB / 1.178 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/1.305, allocations: 3.361 MB / 1.181 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/1.317, allocations: 2.772 MB / 1.184 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004122/1.321, allocations: 1.067 MB / 1.185 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005989/1.322, allocations: 445.5 kB / 1.186 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004422/1.326, allocations: 1.227 MB / 1.187 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 3.136e-06/1.326, allocations: 0 / 1.187 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.02927/1.355, allocations: 4.803 MB / 1.192 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/1.355, allocations: 144.5 kB / 1.192 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00565/1.361, allocations: 2.469 MB / 1.194 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002956/1.361, allocations: 29.7 kB / 1.194 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008921/1.362, allocations: 0.59 MB / 1.195 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/1.363, allocations: 63.09 kB / 1.195 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/1.363, allocations: 4 kB / 1.195 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.363, allocations: 337.9 kB / 1.195 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004615/1.367, allocations: 1.198 MB / 1.196 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004514/1.372, allocations: 1.254 MB / 1.197 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004318/1.376, allocations: 1.122 MB / 1.199 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/1.376, allocations: 4 kB / 1.199 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02422/1.401, allocations: 4.141 MB / 1.203 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/1.401, allocations: 135.8 kB / 1.203 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.401, allocations: 0 / 1.203 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004171/1.405, allocations: 0.9677 MB / 1.204 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00239/1.407, allocations: 435.4 kB / 1.204 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/1.419, allocations: 8.069 MB / 1.212 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/1.423, allocations: 479 kB / 1.212 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003312/1.424, allocations: 35.95 kB / 1.212 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.424, allocations: 7.953 kB / 1.213 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02345/1.447, allocations: 3.856 MB / 1.216 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.447, allocations: 0 / 1.216 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00289/1.45, allocations: 0.7923 MB / 1.217 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/1.453, allocations: 431.4 kB / 1.217 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007429/1.46, allocations: 6.838 MB / 1.224 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003522/1.464, allocations: 471.2 kB / 1.225 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/1.464, allocations: 35.95 kB / 1.225 GB, free: 14.86 MB / 0.9825 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.00139/1.465, allocations: 0.6829 MB / 1.225 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006246/1.466, allocations: 142.2 kB / 1.225 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02293/1.489, allocations: 3.528 MB / 1.229 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/1.489, allocations: 7.938 kB / 1.229 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.489, allocations: 0 / 1.229 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/1.489, allocations: 4 kB / 1.229 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/1.492, allocations: 1.131 MB / 1.23 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.492, allocations: 0 / 1.23 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.494, allocations: 395.5 kB / 1.23 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006556/1.495, allocations: 168.6 kB / 1.231 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/1.495, allocations: 23.95 kB / 1.231 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009931/1.496, allocations: 0.6499 MB / 1.231 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.496, allocations: 0 / 1.231 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02238/1.519, allocations: 3.479 MB / 1.235 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/1.52, allocations: 435 kB / 1.235 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006945/1.521, allocations: 8 kB / 1.235 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003073/1.524, allocations: 415.5 kB / 1.235 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/1.524, allocations: 27.91 kB / 1.235 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/1.524, allocations: 39.91 kB / 1.235 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003802/1.528, allocations: 1.76 MB / 1.237 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/1.528, allocations: 0 / 1.237 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002691/1.531, allocations: 0.5545 MB / 1.238 GB, free: 1.266 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.0007179/1.532, allocations: 235.1 kB / 1.238 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01664/1.548, allocations: 5.131 MB / 1.243 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.548, allocations: 8 kB / 1.243 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00466/1.553, allocations: 1.194 MB / 1.244 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/1.556, allocations: 357.5 kB / 1.244 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.575, allocations: 4.726 MB / 1.249 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/1.576, allocations: 1.422 MB / 1.25 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002288/1.579, allocations: 427.2 kB / 1.251 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007877/1.58, allocations: 91.38 kB / 1.251 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of SimCode: time 6.212e-06/1.58, allocations: 0 / 1.251 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of Templates: time 0.7134/2.293, allocations: 32.2 MB / 1.282 GB, free: 217.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDewPoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches