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.0009551/0.0009555, 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.00105/0.00105, 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.558/1.558, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.897/2.897, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 11.25 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4249, allocations: 159.6 MB / 1.058 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint): time 0.004044/0.429, allocations: 2.538 MB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1904/0.6194, allocations: 140.6 MB / 1.198 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006636/0.6202, allocations: 8 kB / 1.198 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.622, allocations: 0.494 MB / 1.198 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.6239, allocations: 485.4 kB / 1.199 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.6258, allocations: 489.1 kB / 1.199 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.6272, allocations: 1.075 MB / 1.2 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.6276, allocations: 178.7 kB / 1.2 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005791/0.6281, allocations: 438.3 kB / 1.201 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008605/0.629, allocations: 0.5682 MB / 1.201 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.6291, allocations: 56 kB / 1.201 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.6313, allocations: 0.8306 MB / 1.202 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.6316, allocations: 346.8 kB / 1.203 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.6319, allocations: 281 kB / 1.203 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.6344, allocations: 2.194 MB / 1.205 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.6345, allocations: 0 / 1.205 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6345, allocations: 7.875 kB / 1.205 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.6345, allocations: 0 / 1.205 GB, free: 14.39 MB / 0.9669 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.003592/0.6381, allocations: 1.899 MB / 1.207 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.6382, allocations: 12.03 kB / 1.207 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/0.653, allocations: 2.3 MB / 1.209 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/0.6563, allocations: 1.388 MB / 1.211 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.6563, allocations: 16.23 kB / 1.211 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.732e-05/0.6564, allocations: 23.94 kB / 1.211 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004541/0.661, allocations: 1.25 MB / 1.212 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.661, allocations: 4 kB / 1.212 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.6611, allocations: 4 kB / 1.212 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.6611, allocations: 8 kB / 1.212 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008193/0.6693, allocations: 2.095 MB / 1.214 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.6798, allocations: 3.365 MB / 1.217 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/0.6912, allocations: 2.768 MB / 1.22 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004292/0.6956, allocations: 1.063 MB / 1.221 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/0.6962, allocations: 445.5 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004538/0.7008, allocations: 1.228 MB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 2.996e-06/0.7008, allocations: 0 / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.02954/0.7304, allocations: 4.816 MB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.7305, allocations: 132.5 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005859/0.7364, allocations: 2.465 MB / 1.23 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003438/0.7368, allocations: 37.7 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009884/0.7378, allocations: 0.5861 MB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.738, allocations: 67.08 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.7382, allocations: 8 kB / 1.23 GB, free: 4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.7383, allocations: 321.9 kB / 1.231 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004608/0.743, allocations: 1.206 MB / 1.232 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004571/0.7476, allocations: 1.242 MB / 1.233 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004288/0.7519, allocations: 1.126 MB / 1.234 GB, free: 92 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.7519, allocations: 0 / 1.234 GB, free: 92 kB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02441/0.7763, allocations: 4.133 MB / 1.238 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.7765, allocations: 139.8 kB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.7766, allocations: 11.83 kB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004159/0.7807, allocations: 0.9599 MB / 1.239 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/0.7831, allocations: 431.4 kB / 1.24 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.794, allocations: 8.088 MB / 1.248 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003827/0.7979, allocations: 491 kB / 1.248 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/0.7982, allocations: 35.97 kB / 1.248 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.7983, allocations: 4 kB / 1.248 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8312/1.63, allocations: 3.843 MB / 1.252 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.63, allocations: 0 / 1.252 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/1.632, allocations: 0.7917 MB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/1.635, allocations: 434.3 kB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005286/1.64, allocations: 6.832 MB / 1.26 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/1.643, allocations: 462.2 kB / 1.26 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/1.643, allocations: 39.39 kB / 1.26 GB, free: 182.5 MB / 0.9981 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.00122/1.645, allocations: 0.6805 MB / 1.261 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/1.645, allocations: 146.7 kB / 1.261 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0224/1.667, allocations: 3.528 MB / 1.264 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/1.667, allocations: 3.625 kB / 1.264 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.667, allocations: 0.75 kB / 1.264 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/1.667, allocations: 4.094 kB / 1.264 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/1.67, allocations: 1.133 MB / 1.266 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.67, allocations: 4.812 kB / 1.266 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002382/1.672, allocations: 393.5 kB / 1.266 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006536/1.673, allocations: 168.4 kB / 1.266 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/1.673, allocations: 27.16 kB / 1.266 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009489/1.674, allocations: 0.6482 MB / 1.267 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.674, allocations: 1 kB / 1.267 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02488/1.699, allocations: 3.493 MB / 1.27 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/1.701, allocations: 442.1 kB / 1.271 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000829/1.702, allocations: 5.125 kB / 1.271 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00357/1.705, allocations: 414 kB / 1.271 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/1.706, allocations: 22.33 kB / 1.271 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.706, allocations: 33.31 kB / 1.271 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004944/1.711, allocations: 1.763 MB / 1.273 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/1.711, allocations: 0 / 1.273 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003446/1.714, allocations: 0.5538 MB / 1.273 GB, free: 180.5 MB / 0.9981 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.0008869/1.715, allocations: 239.7 kB / 1.274 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01692/1.732, allocations: 5.133 MB / 1.279 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.732, allocations: 1.031 kB / 1.279 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004718/1.737, allocations: 1.196 MB / 1.28 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/1.74, allocations: 360.9 kB / 1.28 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02748/1.767, allocations: 4.732 MB / 1.285 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/1.769, allocations: 1.421 MB / 1.286 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003389/1.772, allocations: 432.8 kB / 1.287 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009135/1.773, allocations: 86.31 kB / 1.287 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.323e-06/1.773, allocations: 0 / 1.287 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.05834/1.832, allocations: 32.17 MB / 1.318 GB, free: 148.5 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches