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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001384/0.001384, allocations: 111.3 kB / 16.41 MB, free: 6.461 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.001334/0.001334, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.48/1.48, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 67.84 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.125, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint): time 0.004357/1.13, allocations: 2.961 MB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.2691/1.399, allocations: 154.7 MB / 1.321 GB, free: 5.516 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/1.399, allocations: 4 kB / 1.321 GB, free: 5.512 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001644/1.401, allocations: 0.537 MB / 1.322 GB, free: 4.98 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001947/1.403, allocations: 0.6998 MB / 1.323 GB, free: 4.277 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/1.405, allocations: 0.6801 MB / 1.323 GB, free: 3.598 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001627/1.407, allocations: 1.333 MB / 1.325 GB, free: 2.262 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/1.407, allocations: 190.5 kB / 1.325 GB, free: 2.062 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007486/1.408, allocations: 0.4942 MB / 1.325 GB, free: 1.566 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/1.409, allocations: 0.6266 MB / 1.326 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003338/1.409, allocations: 96 kB / 1.326 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/1.412, allocations: 1.201 MB / 1.327 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004712/1.412, allocations: 394.8 kB / 1.327 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/1.413, allocations: 0.6839 MB / 1.328 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003873/1.417, allocations: 2.83 MB / 1.331 GB, free: 11.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.417, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/1.417, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.427e-05/1.417, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.061 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.004918/1.422, allocations: 2.122 MB / 1.333 GB, free: 9.539 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.422, allocations: 12.92 kB / 1.333 GB, free: 9.527 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01714/1.439, allocations: 1.887 MB / 1.335 GB, free: 7.637 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/1.443, allocations: 1.485 MB / 1.336 GB, free: 6.105 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/1.443, allocations: 16.23 kB / 1.336 GB, free: 6.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/1.443, allocations: 20 kB / 1.336 GB, free: 6.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005495/1.448, allocations: 1.058 MB / 1.337 GB, free: 4.996 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/1.448, allocations: 8 kB / 1.337 GB, free: 4.988 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/1.448, allocations: 11.98 kB / 1.337 GB, free: 4.977 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.448, allocations: 0 / 1.337 GB, free: 4.977 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/1.458, allocations: 1.689 MB / 1.339 GB, free: 3.285 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/1.47, allocations: 3.166 MB / 1.342 GB, free: 60 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01325/1.483, allocations: 2.213 MB / 1.344 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004909/1.488, allocations: 0.8638 MB / 1.345 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006398/1.489, allocations: 445.5 kB / 1.346 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005171/1.494, allocations: 1.032 MB / 1.347 GB, free: 11.37 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 2.845e-06/1.494, allocations: 0 / 1.347 GB, free: 11.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.0344/1.528, allocations: 4.223 MB / 1.351 GB, free: 7.109 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.466e-05/1.528, allocations: 132.5 kB / 1.351 GB, free: 6.949 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004894/1.533, allocations: 2.484 MB / 1.353 GB, free: 4.461 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000244/1.534, allocations: 37.7 kB / 1.353 GB, free: 4.418 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007494/1.534, allocations: 0.59 MB / 1.354 GB, free: 3.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/1.534, allocations: 63.44 kB / 1.354 GB, free: 3.758 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004264/1.535, allocations: 129.6 kB / 1.354 GB, free: 3.625 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.535, allocations: 326 kB / 1.354 GB, free: 3.301 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005394/1.54, allocations: 1.016 MB / 1.355 GB, free: 2.281 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005381/1.546, allocations: 1.058 MB / 1.356 GB, free: 1.215 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009644/1.556, allocations: 1.737 MB / 1.358 GB, free: 15.46 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/1.556, allocations: 0 / 1.358 GB, free: 15.46 MB / 1.092 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02836/1.584, allocations: 3.783 MB / 1.362 GB, free: 11.64 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.238e-05/1.584, allocations: 33.7 kB / 1.362 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.584, allocations: 0 / 1.362 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004553/1.589, allocations: 0.9639 MB / 1.363 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/1.591, allocations: 335.4 kB / 1.363 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/1.603, allocations: 8.612 MB / 1.371 GB, free: 1.094 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003874/1.607, allocations: 387.1 kB / 1.372 GB, free: 0.7148 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/1.607, allocations: 39.95 kB / 1.372 GB, free: 0.6758 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006502/1.614, allocations: 1.522 MB / 1.373 GB, free: 15.14 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005285/1.619, allocations: 1.043 MB / 1.374 GB, free: 14.09 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009648/1.629, allocations: 1.713 MB / 1.376 GB, free: 12.36 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/1.629, allocations: 4 kB / 1.376 GB, free: 12.36 MB / 1.107 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.02658/1.655, allocations: 3.599 MB / 1.38 GB, free: 8.723 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 6.526e-05/1.656, allocations: 33.7 kB / 1.38 GB, free: 8.684 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.656, allocations: 4.031 kB / 1.38 GB, free: 8.68 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003074/1.659, allocations: 0.7923 MB / 1.38 GB, free: 7.871 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/1.661, allocations: 327.5 kB / 1.381 GB, free: 7.551 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007454/1.669, allocations: 7.285 MB / 1.388 GB, free: 15.68 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/1.673, allocations: 375.3 kB / 1.388 GB, free: 15.31 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/1.673, allocations: 35.97 kB / 1.388 GB, free: 15.27 MB / 1.123 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.0003884/1.673, allocations: 237.8 kB / 1.388 GB, free: 15.03 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005443/1.674, allocations: 151 kB / 1.389 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02598/1.7, allocations: 3.142 MB / 1.392 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/1.7, allocations: 0 / 1.392 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.7, allocations: 0 / 1.392 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.701, allocations: 455.8 kB / 1.392 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006432/1.702, allocations: 4 kB / 1.392 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003428/1.705, allocations: 319.4 kB / 1.392 GB, free: 10.93 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/1.705, allocations: 27.91 kB / 1.392 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01475/1.72, allocations: 2.435 MB / 1.395 GB, free: 8.441 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01576/1.736, allocations: 3.124 MB / 1.398 GB, free: 5.289 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004937/1.741, allocations: 0.8818 MB / 1.399 GB, free: 4.406 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003779/1.745, allocations: 1.772 MB / 1.4 GB, free: 2.641 MB / 1.123 GB Notification: Performance of Backend: time 6.01e-07/1.745, allocations: 0 / 1.4 GB, free: 2.641 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01642/1.761, allocations: 4.064 MB / 1.404 GB, free: 14.44 MB / 1.139 GB Notification: Performance of SimCode: time 0.006402/1.768, allocations: 3.362 MB / 1.408 GB, free: 11.02 MB / 1.139 GB Notification: Performance of Templates: time 0.06939/1.837, allocations: 43.54 MB / 1.45 GB, free: 15.62 MB / 1.186 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