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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.008664/0.008664, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001663/0.001664, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.416/1.416, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.839/2.839, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 66.2 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3497, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003167/0.3529, allocations: 1.578 MB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003176/0.3533, allocations: 139.5 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.3533, allocations: 4 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.669e-05/0.3534, allocations: 7.922 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.664e-05/0.3535, allocations: 7.922 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.3536, allocations: 15.98 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.979e-05/0.3537, allocations: 43.86 kB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.3539, allocations: 8 kB / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.354, allocations: 15.92 kB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.576e-05/0.354, allocations: 23.91 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.3541, allocations: 4 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.3541, allocations: 0 / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.3541, allocations: 4 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.3542, allocations: 23.86 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.358e-05/0.3543, allocations: 36.22 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3543, allocations: 0 / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3543, allocations: 0 / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3543, allocations: 0 / 1.055 GB, free: 6.395 MB / 0.8106 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.000689/0.355, allocations: 359.3 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.355, allocations: 11.97 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.3551, allocations: 4.938 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.3553, allocations: 180.2 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3553, allocations: 4.375 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.3553, allocations: 4.375 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.3556, allocations: 62.22 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3556, allocations: 4.188 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.3556, allocations: 7.938 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3557, allocations: 0 / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.3559, allocations: 67.92 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.3565, allocations: 264.8 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.3567, allocations: 62.48 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.3569, allocations: 40.91 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.3569, allocations: 0 / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.3569, allocations: 30.56 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3569, allocations: 3.938 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005439/0.3575, allocations: 137.5 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.3575, allocations: 51.41 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.3576, allocations: 113.8 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.3577, allocations: 25.7 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.3577, allocations: 84.14 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.3578, allocations: 19.69 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.3578, allocations: 17.72 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.358, allocations: 318.8 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3581, allocations: 27.97 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3583, allocations: 35.95 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.3586, allocations: 69.08 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3586, allocations: 3.938 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003185/0.3589, allocations: 105.5 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.3589, allocations: 4 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3589, allocations: 0 / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.359, allocations: 0 / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3591, allocations: 19.98 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.3591, allocations: 0 / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.329e-05/0.3592, allocations: 15.98 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3592, allocations: 0 / 1.057 GB, free: 4.055 MB / 0.8106 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.315e-05/0.3593, allocations: 113.8 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.3594, allocations: 7.891 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.3594, allocations: 7.906 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3594, allocations: 8 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3594, allocations: 0 / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3594, allocations: 0 / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.3596, allocations: 169.6 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3596, allocations: 0 / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.577e-05/0.3597, allocations: 15.97 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3597, allocations: 4 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3597, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3598, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3598, allocations: 3.938 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.3601, allocations: 195.4 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.3602, allocations: 81.02 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.3602, allocations: 11.92 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3603, allocations: 7.984 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.3604, allocations: 8 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.3604, allocations: 0 / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.021e-05/0.3605, allocations: 91.27 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3605, allocations: 0 / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000226/0.3607, allocations: 8 kB / 1.057 GB, free: 3.238 MB / 0.8106 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.0002326/0.361, allocations: 95.25 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.3613, allocations: 75.86 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3613, allocations: 0 / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.3615, allocations: 39.95 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.3619, allocations: 11.88 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/0.3624, allocations: 174 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.3627, allocations: 0.6809 MB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.3627, allocations: 11.44 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/0.3627, allocations: 0 / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of Templates: time 0.002252/0.365, allocations: 0.7554 MB / 1.059 GB, free: 1.34 MB / 0.8106 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/jenkins1/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