Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_10_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_10_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.01174/0.01174, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.002302/0.002302, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.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.934/2.934, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.91 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4013, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003461/0.4048, allocations: 1.506 MB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000339/0.4052, allocations: 151.5 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.4052, allocations: 0 / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.136e-05/0.4053, allocations: 3.938 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.476e-05/0.4054, allocations: 11.92 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.4055, allocations: 11.98 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.4056, allocations: 43.86 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.4058, allocations: 11.98 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.859e-05/0.4059, allocations: 23.92 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.4059, allocations: 19.91 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.406, allocations: 4 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.406, allocations: 4 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.888e-05/0.406, allocations: 15.92 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.4061, allocations: 15.88 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.4062, allocations: 39.83 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.4062, allocations: 3.984 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4062, allocations: 0 / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.4062, allocations: 0 / 1.168 GB, free: 4.945 MB / 0.92 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.0006225/0.4069, allocations: 367.3 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4069, allocations: 15.97 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.407, allocations: 4.891 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.4071, allocations: 168.3 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.4071, allocations: 4.359 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.4072, allocations: 384 / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.4074, allocations: 74.22 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.4074, allocations: 192 / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.4075, allocations: 3.938 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.4075, allocations: 0 / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.4078, allocations: 67.86 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.4082, allocations: 280.8 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.4084, allocations: 58.47 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.4086, allocations: 44.91 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.4086, allocations: 0 / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.4086, allocations: 34.5 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4086, allocations: 4 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.00052/0.4092, allocations: 121.6 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.4092, allocations: 55.39 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.597e-05/0.4093, allocations: 109.8 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.4093, allocations: 29.7 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.4094, allocations: 88.09 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.4094, allocations: 11.89 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.4095, allocations: 13.72 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4096, allocations: 318.8 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.4097, allocations: 27.97 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.4099, allocations: 43.89 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.4101, allocations: 60.8 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4101, allocations: 3.938 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003136/0.4105, allocations: 101.6 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4105, allocations: 11.98 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4105, allocations: 0 / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4105, allocations: 0 / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.4106, allocations: 11.98 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4106, allocations: 0 / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.477e-05/0.4107, allocations: 15.94 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.4108, allocations: 0 / 1.171 GB, free: 2.609 MB / 0.92 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 8.494e-05/0.4108, allocations: 129.7 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.4109, allocations: 0 / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.4109, allocations: 11.89 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4109, allocations: 0 / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4109, allocations: 0 / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4109, allocations: 0 / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.4111, allocations: 169.6 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4111, allocations: 0 / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.4112, allocations: 19.97 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4112, allocations: 0 / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.4113, allocations: 4 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4113, allocations: 0 / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4113, allocations: 0 / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.4116, allocations: 195.4 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.4117, allocations: 81.48 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.4117, allocations: 4 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.4118, allocations: 19.91 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.4119, allocations: 7.938 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.4119, allocations: 4 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.757e-05/0.4119, allocations: 91.27 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4119, allocations: 0 / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002164/0.4122, allocations: 8 kB / 1.171 GB, free: 1.777 MB / 0.92 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.0001481/0.4123, allocations: 99.25 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.4127, allocations: 71.91 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4127, allocations: 0 / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.4128, allocations: 35.95 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.4132, allocations: 15.94 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.4136, allocations: 144 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.4138, allocations: 0.6807 MB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.659e-05/0.4139, allocations: 0 / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.4139, allocations: 15.44 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of SimCode: time 3.51e-07/0.4139, allocations: 0 / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of Templates: time 0.003303/0.4172, allocations: 0.8065 MB / 1.173 GB, free: 15.86 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches