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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00143/0.00143, allocations: 111.9 kB / 16.42 MB, free: 6.516 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.001675/0.001676, allocations: 187.9 kB / 17.35 MB, free: 5.738 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: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.12 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181/1.182, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint): time 0.004653/1.187, allocations: 2.96 MB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1896/1.376, allocations: 154.7 MB / 1.362 GB, free: 15.3 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/1.377, allocations: 4 kB / 1.362 GB, free: 15.3 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001693/1.379, allocations: 0.5423 MB / 1.363 GB, free: 14.75 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/1.381, allocations: 0.6763 MB / 1.364 GB, free: 14.07 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/1.383, allocations: 0.6694 MB / 1.364 GB, free: 13.41 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001555/1.384, allocations: 1.337 MB / 1.366 GB, free: 12.07 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/1.384, allocations: 190.5 kB / 1.366 GB, free: 11.87 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005329/1.385, allocations: 0.4981 MB / 1.366 GB, free: 11.37 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008977/1.386, allocations: 0.6227 MB / 1.367 GB, free: 10.74 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/1.386, allocations: 96 kB / 1.367 GB, free: 10.65 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/1.389, allocations: 1.197 MB / 1.368 GB, free: 9.449 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003747/1.389, allocations: 398.8 kB / 1.369 GB, free: 9.059 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006764/1.39, allocations: 0.6799 MB / 1.369 GB, free: 8.375 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003597/1.393, allocations: 2.816 MB / 1.372 GB, free: 5.551 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.393, allocations: 4 kB / 1.372 GB, free: 5.547 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.164e-06/1.393, allocations: 0 / 1.372 GB, free: 5.547 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.288e-05/1.393, allocations: 0 / 1.372 GB, free: 5.547 MB / 1.092 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.004011/1.397, allocations: 2.069 MB / 1.374 GB, free: 3.414 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.397, allocations: 16.02 kB / 1.374 GB, free: 3.398 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01735/1.415, allocations: 1.879 MB / 1.376 GB, free: 1.516 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003195/1.418, allocations: 1.464 MB / 1.377 GB, free: 4 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/1.418, allocations: 12.31 kB / 1.377 GB, free: 15.99 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/1.418, allocations: 24 kB / 1.377 GB, free: 15.96 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005386/1.424, allocations: 1.058 MB / 1.378 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.424, allocations: 4 kB / 1.378 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/1.424, allocations: 4 kB / 1.378 GB, free: 14.88 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.424, allocations: 8 kB / 1.378 GB, free: 14.88 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009571/1.433, allocations: 1.685 MB / 1.38 GB, free: 13.19 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01097/1.444, allocations: 3.165 MB / 1.383 GB, free: 9.965 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01321/1.458, allocations: 2.205 MB / 1.385 GB, free: 7.738 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005607/1.463, allocations: 0.8639 MB / 1.386 GB, free: 6.867 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008649/1.464, allocations: 449.4 kB / 1.386 GB, free: 6.336 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008909/1.473, allocations: 1.017 MB / 1.387 GB, free: 5.293 MB / 1.107 GB Notification: Performance of pre-optimization done (n=21): time 6.492e-06/1.473, allocations: 4 kB / 1.387 GB, free: 5.289 MB / 1.107 GB Notification: Performance of matching and sorting (n=21): time 0.06146/1.535, allocations: 4.218 MB / 1.392 GB, free: 1.031 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/1.535, allocations: 136.5 kB / 1.392 GB, free: 0.8672 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008325/1.543, allocations: 2.476 MB / 1.394 GB, free: 14.39 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003496/1.544, allocations: 37.7 kB / 1.394 GB, free: 14.34 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/1.545, allocations: 0.59 MB / 1.395 GB, free: 13.75 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/1.545, allocations: 59.14 kB / 1.395 GB, free: 13.69 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007649/1.546, allocations: 133.5 kB / 1.395 GB, free: 13.55 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.546, allocations: 322 kB / 1.395 GB, free: 13.23 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009607/1.556, allocations: 1.016 MB / 1.396 GB, free: 12.21 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009961/1.566, allocations: 1.062 MB / 1.397 GB, free: 11.14 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01719/1.583, allocations: 1.74 MB / 1.399 GB, free: 9.379 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/1.583, allocations: 0 / 1.399 GB, free: 9.379 MB / 1.123 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.04632/1.629, allocations: 3.774 MB / 1.403 GB, free: 5.57 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.629, allocations: 37.69 kB / 1.403 GB, free: 5.527 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.629, allocations: 0 / 1.403 GB, free: 5.527 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006922/1.636, allocations: 0.9678 MB / 1.404 GB, free: 4.543 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004283/1.641, allocations: 331.4 kB / 1.404 GB, free: 4.219 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01621/1.657, allocations: 8.613 MB / 1.412 GB, free: 11.01 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005722/1.663, allocations: 387 kB / 1.413 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/1.663, allocations: 35.95 kB / 1.413 GB, free: 10.6 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008236/1.671, allocations: 1.534 MB / 1.414 GB, free: 9.059 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00546/1.677, allocations: 1.035 MB / 1.415 GB, free: 8.012 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009697/1.687, allocations: 1.713 MB / 1.417 GB, free: 6.281 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.018e-06/1.687, allocations: 4 kB / 1.417 GB, free: 6.277 MB / 1.139 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.02734/1.714, allocations: 3.591 MB / 1.42 GB, free: 2.652 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/1.714, allocations: 37.69 kB / 1.421 GB, free: 2.609 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/1.714, allocations: 0 / 1.421 GB, free: 2.609 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/1.717, allocations: 0.7922 MB / 1.421 GB, free: 1.801 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002665/1.72, allocations: 331.4 kB / 1.422 GB, free: 1.477 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00763/1.727, allocations: 7.283 MB / 1.429 GB, free: 9.602 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/1.731, allocations: 367.3 kB / 1.429 GB, free: 9.242 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/1.732, allocations: 39.95 kB / 1.429 GB, free: 9.203 MB / 1.154 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.0004609/1.732, allocations: 243.5 kB / 1.429 GB, free: 8.953 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006528/1.733, allocations: 142.2 kB / 1.429 GB, free: 8.812 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02647/1.759, allocations: 3.146 MB / 1.433 GB, free: 5.645 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/1.759, allocations: 3.938 kB / 1.433 GB, free: 5.641 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/1.759, allocations: 4 kB / 1.433 GB, free: 5.637 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.761, allocations: 435 kB / 1.433 GB, free: 5.191 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006476/1.761, allocations: 8 kB / 1.433 GB, free: 5.184 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003318/1.765, allocations: 319.5 kB / 1.433 GB, free: 4.871 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/1.765, allocations: 27.84 kB / 1.433 GB, free: 4.844 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01458/1.779, allocations: 2.432 MB / 1.436 GB, free: 2.383 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01572/1.795, allocations: 3.117 MB / 1.439 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004951/1.8, allocations: 0.8778 MB / 1.44 GB, free: 14.36 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003937/1.804, allocations: 1.772 MB / 1.441 GB, free: 12.59 MB / 1.17 GB Notification: Performance of Backend: time 1.092e-06/1.804, allocations: 0 / 1.441 GB, free: 12.59 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01645/1.821, allocations: 4.05 MB / 1.445 GB, free: 8.406 MB / 1.17 GB Notification: Performance of SimCode: time 0.006055/1.827, allocations: 3.317 MB / 1.449 GB, free: 5.031 MB / 1.17 GB Notification: Performance of Templates: time 0.06785/1.895, allocations: 43.55 MB / 1.491 GB, free: 9.609 MB / 1.217 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