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.001041/0.001041, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 179.3 kB / 16.92 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.475/1.475, allocations: 223.3 MB / 241 MB, free: 5.262 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 2.813/2.813, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 8 kB / 0.8735 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7728/0.7732, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint): time 0.003615/0.7769, allocations: 2.643 MB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1661/0.9429, allocations: 150.8 MB / 1.174 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004148/0.9434, allocations: 4 kB / 1.174 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.9449, allocations: 0.5289 MB / 1.174 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.9467, allocations: 0.6106 MB / 1.175 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.9484, allocations: 0.5724 MB / 1.175 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.9498, allocations: 1.262 MB / 1.176 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.9501, allocations: 182.5 kB / 1.177 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006195/0.9507, allocations: 430.1 kB / 1.177 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.9518, allocations: 0.5874 MB / 1.178 GB, free: 1.594 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002555/0.9521, allocations: 64 kB / 1.178 GB, free: 1.531 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.9545, allocations: 1.251 MB / 1.179 GB, free: 284 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004199/0.955, allocations: 354.8 kB / 1.179 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008765/0.9558, allocations: 0.6544 MB / 1.18 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002605/0.9585, allocations: 2.244 MB / 1.182 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.9585, allocations: 0 / 1.182 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9585, allocations: 0 / 1.182 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.627e-05/0.9586, allocations: 4 kB / 1.182 GB, free: 13.01 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.003988/0.9625, allocations: 1.895 MB / 1.184 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.9626, allocations: 8.031 kB / 1.184 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01862/0.9812, allocations: 2.301 MB / 1.186 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003907/0.9852, allocations: 1.46 MB / 1.188 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.9852, allocations: 12.23 kB / 1.188 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.9854, allocations: 24 kB / 1.188 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005766/0.9912, allocations: 1.266 MB / 1.189 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.9913, allocations: 0 / 1.189 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.9913, allocations: 7.938 kB / 1.189 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.9914, allocations: 4 kB / 1.189 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/1.002, allocations: 2.095 MB / 1.191 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0117/1.014, allocations: 3.349 MB / 1.194 GB, free: 404 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01414/1.028, allocations: 2.779 MB / 1.197 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005356/1.033, allocations: 1.063 MB / 1.198 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006722/1.034, allocations: 453.4 kB / 1.198 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005548/1.04, allocations: 1.224 MB / 1.2 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=21): time 3.877e-06/1.04, allocations: 0 / 1.2 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21): time 0.03637/1.076, allocations: 4.816 MB / 1.204 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.076, allocations: 140.4 kB / 1.204 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005659/1.082, allocations: 2.48 MB / 1.207 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002705/1.082, allocations: 37.73 kB / 1.207 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008737/1.083, allocations: 0.5822 MB / 1.207 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/1.083, allocations: 59.19 kB / 1.208 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/1.084, allocations: 53.69 kB / 1.208 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.084, allocations: 326 kB / 1.208 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005731/1.089, allocations: 1.214 MB / 1.209 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005757/1.095, allocations: 1.265 MB / 1.21 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/1.106, allocations: 2.115 MB / 1.212 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/1.106, allocations: 0 / 1.212 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.03048/1.137, allocations: 4.176 MB / 1.216 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001833/1.137, allocations: 139.8 kB / 1.217 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.137, allocations: 0 / 1.217 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004695/1.141, allocations: 0.9716 MB / 1.218 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/1.144, allocations: 439.4 kB / 1.218 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/1.155, allocations: 8.086 MB / 1.226 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004473/1.159, allocations: 475.1 kB / 1.226 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002909/1.159, allocations: 36.14 kB / 1.226 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.159, allocations: 4 kB / 1.226 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0285/1.188, allocations: 3.868 MB / 1.23 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.188, allocations: 4.031 kB / 1.23 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003019/1.191, allocations: 0.7883 MB / 1.231 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/1.194, allocations: 443.3 kB / 1.231 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006659/1.201, allocations: 6.846 MB / 1.238 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00389/1.205, allocations: 463.3 kB / 1.238 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/1.205, allocations: 43.89 kB / 1.238 GB, free: 1.559 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 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,adp.stage,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(1,1), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00128/1.206, allocations: 0.6711 MB / 1.239 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005472/1.207, allocations: 154.1 kB / 1.239 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02651/1.233, allocations: 3.533 MB / 1.243 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/1.233, allocations: 0 / 1.243 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.233, allocations: 0 / 1.243 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.233, allocations: 4 kB / 1.243 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/1.236, allocations: 1.124 MB / 1.244 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.236, allocations: 0 / 1.244 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00261/1.238, allocations: 399.5 kB / 1.244 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006831/1.239, allocations: 164.7 kB / 1.244 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/1.239, allocations: 23.95 kB / 1.244 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/1.24, allocations: 0.6536 MB / 1.245 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.24, allocations: 4.031 kB / 1.245 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02681/1.267, allocations: 3.481 MB / 1.248 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.269, allocations: 442.9 kB / 1.249 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005675/1.269, allocations: 8 kB / 1.249 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003547/1.273, allocations: 411.5 kB / 1.249 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/1.273, allocations: 23.97 kB / 1.249 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.273, allocations: 35.95 kB / 1.249 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003718/1.277, allocations: 1.772 MB / 1.251 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.277, allocations: 7.875 kB / 1.251 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002581/1.279, allocations: 0.5623 MB / 1.252 GB, free: 3.945 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007662/1.28, allocations: 234.8 kB / 1.252 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.6015/1.882, allocations: 5.125 MB / 1.257 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.882, allocations: 1.375 kB / 1.257 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006315/1.888, allocations: 1.197 MB / 1.258 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/1.89, allocations: 344.1 kB / 1.258 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02273/1.913, allocations: 4.959 MB / 1.263 GB, free: 227 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/1.914, allocations: 1.408 MB / 1.265 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008762/1.915, allocations: 94.41 kB / 1.265 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.393e-06/1.915, allocations: 0 / 1.265 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.0569/1.972, allocations: 47.74 MB / 1.311 GB, free: 191.9 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/jenkins1/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