Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.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.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 108 kB / 15.6 MB, free: 132 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.001775/0.001775, allocations: 193 kB / 16.53 MB, free: 6.391 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 472.6 MB / 0.7452 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 64.34 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3671, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002958/0.3701, allocations: 1.498 MB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002639/0.3704, allocations: 143.5 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.3705, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.3705, allocations: 3.938 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.003e-05/0.3706, allocations: 7.922 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.335e-05/0.3707, allocations: 23.91 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.162e-05/0.3707, allocations: 43.86 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3709, allocations: 12 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.3709, allocations: 19.86 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.371, allocations: 27.91 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.371, allocations: 4 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.371, allocations: 4 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.3711, allocations: 4 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.3711, allocations: 19.86 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.681e-05/0.3712, allocations: 40.16 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3712, allocations: 4 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3712, allocations: 0 / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.3712, allocations: 0 / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005504/0.3718, allocations: 371.3 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3718, allocations: 8.031 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.3719, allocations: 4.844 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.372, allocations: 168.3 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.372, allocations: 4.375 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.372, allocations: 4.375 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3723, allocations: 66.22 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.3723, allocations: 192 / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3723, allocations: 7.875 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3723, allocations: 4 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.3726, allocations: 63.92 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.373, allocations: 268.9 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.3732, allocations: 58.47 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.3734, allocations: 40.92 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.3734, allocations: 7.922 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.3735, allocations: 34.56 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.3735, allocations: 0 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005223/0.374, allocations: 129.6 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.3741, allocations: 51.41 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.3741, allocations: 105.8 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.3742, allocations: 25.7 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.3742, allocations: 92.05 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.3743, allocations: 19.77 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.3743, allocations: 13.72 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3744, allocations: 318.8 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3746, allocations: 31.95 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.3747, allocations: 31.91 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.375, allocations: 76.78 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.375, allocations: 3.938 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003074/0.3753, allocations: 93.62 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3754, allocations: 4 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3754, allocations: 0 / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3754, allocations: 0 / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3755, allocations: 15.98 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3755, allocations: 4 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.751e-05/0.3756, allocations: 15.97 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3756, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 prepare postOptimizeDAE: time 9.214e-05/0.3757, allocations: 119.2 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.3758, allocations: 7.906 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.3758, allocations: 3.906 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3758, allocations: 0 / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3758, allocations: 0 / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3758, allocations: 11.94 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.376, allocations: 177.6 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.376, allocations: 4 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.351e-05/0.3761, allocations: 11.98 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3761, allocations: 0 / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.3761, allocations: 0 / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.3761, allocations: 4 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3761, allocations: 0 / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.3765, allocations: 199.4 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.3766, allocations: 81.02 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3766, allocations: 3.938 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3767, allocations: 11.98 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.3767, allocations: 11.98 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3768, allocations: 4 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.491e-05/0.3768, allocations: 87.58 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.643e-06/0.3768, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002218/0.377, allocations: 11.94 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001259/0.3772, allocations: 104.1 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003376/0.3775, allocations: 67.92 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3775, allocations: 0 / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.3777, allocations: 40 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.378, allocations: 17.98 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.3784, allocations: 151.8 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.3786, allocations: 0.6807 MB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.621e-05/0.3787, allocations: 3.984 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.3787, allocations: 7.438 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3787, allocations: 4 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of Templates: time 0.002886/0.3816, allocations: 0.7905 MB / 1.075 GB, free: 3.453 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches