Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.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.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.001713/0.001713, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.753/2.753, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001857, allocations: 63.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9607/0.9626, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.004954/0.9676, allocations: 2.954 MB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1756/1.143, allocations: 154.7 MB / 1.362 GB, free: 15.4 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004815/1.144, allocations: 4 kB / 1.362 GB, free: 15.4 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/1.146, allocations: 0.5423 MB / 1.363 GB, free: 14.86 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/1.148, allocations: 0.6998 MB / 1.364 GB, free: 14.15 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/1.15, allocations: 0.6582 MB / 1.364 GB, free: 13.49 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001656/1.151, allocations: 1.342 MB / 1.366 GB, free: 12.15 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/1.152, allocations: 194.5 kB / 1.366 GB, free: 11.95 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008992/1.153, allocations: 0.4904 MB / 1.366 GB, free: 11.45 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/1.154, allocations: 0.6304 MB / 1.367 GB, free: 10.82 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003943/1.154, allocations: 96 kB / 1.367 GB, free: 10.73 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/1.157, allocations: 1.189 MB / 1.368 GB, free: 9.535 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005329/1.157, allocations: 406.7 kB / 1.368 GB, free: 9.137 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001198/1.159, allocations: 0.6761 MB / 1.369 GB, free: 8.457 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003998/1.163, allocations: 2.812 MB / 1.372 GB, free: 5.637 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.163, allocations: 0 / 1.372 GB, free: 5.637 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.553e-06/1.163, allocations: 0 / 1.372 GB, free: 5.637 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.328e-05/1.163, allocations: 0 / 1.372 GB, free: 5.637 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.005372/1.168, allocations: 2.073 MB / 1.374 GB, free: 3.5 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.168, allocations: 12.03 kB / 1.374 GB, free: 3.488 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/1.184, allocations: 1.774 MB / 1.376 GB, free: 1.711 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003556/1.188, allocations: 1.444 MB / 1.377 GB, free: 224 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/1.188, allocations: 16 kB / 1.377 GB, free: 208 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/1.188, allocations: 24 kB / 1.377 GB, free: 184 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005367/1.194, allocations: 1.019 MB / 1.378 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/1.194, allocations: 3.984 kB / 1.378 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.354e-05/1.194, allocations: 4 kB / 1.378 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.194, allocations: 4 kB / 1.378 GB, free: 15.13 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009782/1.204, allocations: 1.67 MB / 1.38 GB, free: 13.46 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/1.215, allocations: 3.462 MB / 1.383 GB, free: 9.84 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/1.226, allocations: 1.774 MB / 1.385 GB, free: 8.055 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005/1.231, allocations: 0.8395 MB / 1.386 GB, free: 7.211 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008846/1.232, allocations: 0.5259 MB / 1.386 GB, free: 6.574 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005335/1.237, allocations: 0.9782 MB / 1.387 GB, free: 5.578 MB / 1.107 GB Notification: Performance of pre-optimization done (n=23): time 4.197e-06/1.237, allocations: 0 / 1.387 GB, free: 5.578 MB / 1.107 GB Notification: Performance of matching and sorting (n=23): time 0.01676/1.254, allocations: 2.705 MB / 1.39 GB, free: 2.855 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.86e-05/1.254, allocations: 114.8 kB / 1.39 GB, free: 2.719 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00549/1.259, allocations: 2.476 MB / 1.392 GB, free: 244 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002134/1.26, allocations: 37.64 kB / 1.392 GB, free: 200 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009105/1.26, allocations: 0.5938 MB / 1.393 GB, free: 15.6 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/1.261, allocations: 71 kB / 1.393 GB, free: 15.53 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/1.261, allocations: 117.6 kB / 1.393 GB, free: 15.41 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.261, allocations: 326 kB / 1.393 GB, free: 15.08 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005299/1.266, allocations: 0.9844 MB / 1.394 GB, free: 14.09 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00535/1.272, allocations: 1.015 MB / 1.395 GB, free: 13.07 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009683/1.282, allocations: 1.669 MB / 1.397 GB, free: 11.38 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.282, allocations: 0 / 1.397 GB, free: 11.38 MB / 1.123 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01326/1.295, allocations: 2.529 MB / 1.399 GB, free: 8.82 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.501e-05/1.295, allocations: 41.69 kB / 1.399 GB, free: 8.773 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.295, allocations: 0 / 1.399 GB, free: 8.773 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003903/1.299, allocations: 0.803 MB / 1.4 GB, free: 7.957 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/1.302, allocations: 403.3 kB / 1.401 GB, free: 7.562 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/1.312, allocations: 7.964 MB / 1.408 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003722/1.316, allocations: 363 kB / 1.409 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/1.316, allocations: 39.91 kB / 1.409 GB, free: 14.64 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00629/1.323, allocations: 1.483 MB / 1.41 GB, free: 13.15 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005269/1.328, allocations: 1.003 MB / 1.411 GB, free: 12.14 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00968/1.338, allocations: 1.646 MB / 1.413 GB, free: 10.48 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.502e-06/1.338, allocations: 4 kB / 1.413 GB, free: 10.48 MB / 1.139 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0128/1.351, allocations: 2.346 MB / 1.415 GB, free: 8.102 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-05/1.351, allocations: 39.42 kB / 1.415 GB, free: 8.059 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.351, allocations: 3.938 kB / 1.415 GB, free: 8.055 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/1.353, allocations: 0.6238 MB / 1.416 GB, free: 7.418 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003289/1.357, allocations: 403.3 kB / 1.416 GB, free: 7.023 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006315/1.363, allocations: 6.618 MB / 1.423 GB, free: 15.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003713/1.367, allocations: 359.2 kB / 1.423 GB, free: 15.49 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/1.367, allocations: 39.91 kB / 1.423 GB, free: 15.45 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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,appDryPt.stage,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004015/1.367, allocations: 230 kB / 1.423 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006003/1.368, allocations: 146.2 kB / 1.423 GB, free: 15.07 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.379, allocations: 1.952 MB / 1.425 GB, free: 13.1 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/1.379, allocations: 4 kB / 1.425 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/1.379, allocations: 0 / 1.425 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.379, allocations: 0 / 1.425 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/1.381, allocations: 1.275 MB / 1.427 GB, free: 11.75 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/1.381, allocations: 0 / 1.427 GB, free: 11.75 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002807/1.384, allocations: 351.4 kB / 1.427 GB, free: 11.4 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/1.384, allocations: 4 kB / 1.427 GB, free: 11.4 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-05/1.384, allocations: 19.97 kB / 1.427 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/1.384, allocations: 0 / 1.427 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.384, allocations: 0 / 1.427 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/1.395, allocations: 1.87 MB / 1.429 GB, free: 9.48 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.396, allocations: 427 kB / 1.429 GB, free: 9.043 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005457/1.396, allocations: 8 kB / 1.429 GB, free: 9.035 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003209/1.4, allocations: 295.5 kB / 1.429 GB, free: 8.746 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/1.4, allocations: 24.11 kB / 1.429 GB, free: 8.723 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.807e-05/1.4, allocations: 27.97 kB / 1.429 GB, free: 8.695 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003724/1.404, allocations: 1.768 MB / 1.431 GB, free: 6.934 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.3e-07/1.404, allocations: 0 / 1.431 GB, free: 6.934 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002484/1.406, allocations: 0.5468 MB / 1.432 GB, free: 6.387 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007051/1.407, allocations: 235 kB / 1.432 GB, free: 6.148 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01835/1.425, allocations: 4.373 MB / 1.436 GB, free: 1.645 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.425, allocations: 0 / 1.436 GB, free: 1.645 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00518/1.43, allocations: 0.9415 MB / 1.437 GB, free: 0.6914 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/1.433, allocations: 381.3 kB / 1.438 GB, free: 328 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/1.456, allocations: 4.526 MB / 1.442 GB, free: 11.76 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/1.457, allocations: 1.411 MB / 1.443 GB, free: 10.32 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008616/1.458, allocations: 103.3 kB / 1.443 GB, free: 10.22 MB / 1.17 GB Notification: Performance of SimCode: time 1.292e-06/1.458, allocations: 0 / 1.443 GB, free: 10.22 MB / 1.17 GB Notification: Performance of Templates: time 0.04975/1.508, allocations: 39.98 MB / 1.482 GB, free: 2.289 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches