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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001742/0.001742, allocations: 109.8 kB / 16.41 MB, free: 6.465 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.001815/0.001815, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.465/1.465, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.968/2.968, allocations: 472.7 MB / 0.746 GB, free: 476 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 67.89 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222/1.223, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint): time 0.004809/1.228, allocations: 2.952 MB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.2031/1.431, allocations: 154.7 MB / 1.38 GB, free: 15.21 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005555/1.432, allocations: 4 kB / 1.38 GB, free: 15.21 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/1.434, allocations: 0.5448 MB / 1.381 GB, free: 14.67 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/1.436, allocations: 0.692 MB / 1.382 GB, free: 13.98 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002119/1.438, allocations: 0.6737 MB / 1.382 GB, free: 13.3 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001631/1.44, allocations: 1.334 MB / 1.384 GB, free: 11.96 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/1.44, allocations: 202.4 kB / 1.384 GB, free: 11.75 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006756/1.441, allocations: 0.4904 MB / 1.384 GB, free: 11.26 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009196/1.442, allocations: 0.6227 MB / 1.385 GB, free: 10.64 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/1.442, allocations: 100 kB / 1.385 GB, free: 10.54 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/1.445, allocations: 1.209 MB / 1.386 GB, free: 9.328 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004178/1.445, allocations: 386.9 kB / 1.386 GB, free: 8.949 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009209/1.446, allocations: 0.6838 MB / 1.387 GB, free: 8.262 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004262/1.45, allocations: 2.822 MB / 1.39 GB, free: 5.43 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.45, allocations: 4 kB / 1.39 GB, free: 5.426 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.412e-06/1.45, allocations: 0 / 1.39 GB, free: 5.426 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.774e-05/1.45, allocations: 0 / 1.39 GB, free: 5.426 MB / 1.107 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.004584/1.455, allocations: 2.134 MB / 1.392 GB, free: 3.227 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/1.455, allocations: 12.03 kB / 1.392 GB, free: 3.215 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/1.472, allocations: 1.884 MB / 1.394 GB, free: 1.328 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004234/1.476, allocations: 1.478 MB / 1.395 GB, free: 15.8 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/1.476, allocations: 20.17 kB / 1.395 GB, free: 15.78 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/1.476, allocations: 24 kB / 1.395 GB, free: 15.76 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005024/1.481, allocations: 1.058 MB / 1.396 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.481, allocations: 4 kB / 1.396 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.728e-05/1.481, allocations: 0 / 1.396 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/1.481, allocations: 4 kB / 1.396 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008998/1.49, allocations: 1.689 MB / 1.398 GB, free: 12.98 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/1.502, allocations: 3.162 MB / 1.401 GB, free: 9.762 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/1.514, allocations: 2.209 MB / 1.403 GB, free: 7.531 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00441/1.518, allocations: 0.8638 MB / 1.404 GB, free: 6.66 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006457/1.519, allocations: 445.4 kB / 1.405 GB, free: 6.133 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004804/1.524, allocations: 1.03 MB / 1.406 GB, free: 5.078 MB / 1.123 GB Notification: Performance of pre-optimization done (n=21): time 4.659e-06/1.524, allocations: 7.922 kB / 1.406 GB, free: 5.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=21): time 0.03182/1.556, allocations: 4.221 MB / 1.41 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.76e-05/1.556, allocations: 132.5 kB / 1.41 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005383/1.561, allocations: 2.488 MB / 1.412 GB, free: 14.16 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002926/1.562, allocations: 33.7 kB / 1.412 GB, free: 14.12 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007852/1.562, allocations: 0.594 MB / 1.413 GB, free: 13.52 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/1.563, allocations: 59.48 kB / 1.413 GB, free: 13.46 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004859/1.563, allocations: 125.6 kB / 1.413 GB, free: 13.33 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.563, allocations: 322 kB / 1.413 GB, free: 13.01 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004945/1.568, allocations: 1.016 MB / 1.414 GB, free: 11.98 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005042/1.573, allocations: 1.058 MB / 1.415 GB, free: 10.91 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008881/1.582, allocations: 1.74 MB / 1.417 GB, free: 9.152 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.582, allocations: 0 / 1.417 GB, free: 9.152 MB / 1.139 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0274/1.61, allocations: 3.783 MB / 1.421 GB, free: 5.336 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 9.058e-05/1.61, allocations: 37.64 kB / 1.421 GB, free: 5.293 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.61, allocations: 0 / 1.421 GB, free: 5.293 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004533/1.614, allocations: 0.9639 MB / 1.422 GB, free: 4.312 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/1.617, allocations: 339.4 kB / 1.422 GB, free: 3.98 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/1.629, allocations: 8.614 MB / 1.43 GB, free: 10.78 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/1.633, allocations: 379.2 kB / 1.431 GB, free: 10.41 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/1.633, allocations: 43.94 kB / 1.431 GB, free: 10.37 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005928/1.639, allocations: 1.528 MB / 1.432 GB, free: 8.836 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004736/1.644, allocations: 1.039 MB / 1.433 GB, free: 7.785 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008691/1.653, allocations: 1.717 MB / 1.435 GB, free: 6.047 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.288e-06/1.653, allocations: 4 kB / 1.435 GB, free: 6.043 MB / 1.154 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.02644/1.679, allocations: 3.592 MB / 1.439 GB, free: 2.422 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.209e-05/1.679, allocations: 41.72 kB / 1.439 GB, free: 2.375 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.679, allocations: 0 / 1.439 GB, free: 2.375 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00289/1.682, allocations: 0.7883 MB / 1.439 GB, free: 1.57 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/1.685, allocations: 335.4 kB / 1.44 GB, free: 1.242 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008599/1.693, allocations: 7.292 MB / 1.447 GB, free: 9.359 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003735/1.697, allocations: 375.3 kB / 1.447 GB, free: 8.992 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/1.697, allocations: 35.97 kB / 1.447 GB, free: 8.957 MB / 1.17 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.0005829/1.698, allocations: 233.8 kB / 1.447 GB, free: 8.715 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006782/1.699, allocations: 151 kB / 1.448 GB, free: 8.566 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02614/1.725, allocations: 3.146 MB / 1.451 GB, free: 5.402 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/1.725, allocations: 0 / 1.451 GB, free: 5.402 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/1.725, allocations: 4 kB / 1.451 GB, free: 5.398 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/1.726, allocations: 451.7 kB / 1.451 GB, free: 4.938 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005796/1.727, allocations: 12 kB / 1.451 GB, free: 4.926 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00316/1.73, allocations: 311.5 kB / 1.451 GB, free: 4.621 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.73, allocations: 27.91 kB / 1.451 GB, free: 4.594 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01375/1.744, allocations: 2.429 MB / 1.454 GB, free: 2.133 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01446/1.758, allocations: 3.13 MB / 1.457 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004381/1.763, allocations: 0.8804 MB / 1.458 GB, free: 14.1 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.003689/1.766, allocations: 1.772 MB / 1.459 GB, free: 12.33 MB / 1.186 GB Notification: Performance of Backend: time 6.21e-07/1.766, allocations: 0 / 1.459 GB, free: 12.33 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01522/1.782, allocations: 4.066 MB / 1.463 GB, free: 8.125 MB / 1.186 GB Notification: Performance of SimCode: time 0.005576/1.787, allocations: 3.351 MB / 1.467 GB, free: 4.711 MB / 1.186 GB Notification: Performance of Templates: time 0.06922/1.857, allocations: 43.54 MB / 1.509 GB, free: 9.289 MB / 1.232 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/jenkins1/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