Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006914/0.006914, allocations: 103.2 kB / 15.73 MB, free: 6.051 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.001215/0.001216, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.78 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2609, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation): time 0.002677/0.2636, allocations: 1.525 MB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.2639, allocations: 143.5 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.264, allocations: 0 / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.264, allocations: 11.92 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.9e-05/0.2641, allocations: 11.81 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.679e-05/0.2642, allocations: 11.92 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.442e-05/0.2643, allocations: 47.84 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2644, allocations: 12 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.856e-05/0.2645, allocations: 19.92 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.299e-05/0.2645, allocations: 23.91 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.2645, allocations: 4 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.2646, allocations: 4 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.2646, allocations: 7.984 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.2646, allocations: 23.86 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.89e-05/0.2647, allocations: 38.7 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2647, allocations: 0 / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2647, allocations: 0 / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2647, allocations: 4 kB / 1.089 GB, free: 72 kB / 0.8419 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.0005466/0.2653, allocations: 360.3 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2653, allocations: 12.03 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.2654, allocations: 30.75 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.2654, allocations: 4.844 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2655, allocations: 168.4 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.2655, allocations: 8.359 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.2656, allocations: 16.06 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.2658, allocations: 61.66 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.2658, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2658, allocations: 4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.2659, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.2661, allocations: 67.92 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.2665, allocations: 272.7 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.2668, allocations: 58.47 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.2669, allocations: 36.92 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.2669, allocations: 4 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.267, allocations: 34.5 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.267, allocations: 0 / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005384/0.2675, allocations: 133.6 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2676, allocations: 59.34 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.2677, allocations: 105.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.2677, allocations: 25.7 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.2677, allocations: 92.05 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.2678, allocations: 9.266 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.2678, allocations: 21.7 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2679, allocations: 314.8 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.2681, allocations: 31.97 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.2682, allocations: 39.89 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.2685, allocations: 64.78 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2685, allocations: 8 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000317/0.2688, allocations: 101.6 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2688, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2689, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2689, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.269, allocations: 15.98 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.269, allocations: 0 / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.991e-05/0.2691, allocations: 23.88 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.2691, allocations: 4 kB / 1.091 GB, free: 13.69 MB / 0.8575 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 5.621e-05/0.2692, allocations: 109.8 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.2692, allocations: 4 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.2692, allocations: 7.906 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2692, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2692, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2693, allocations: 336 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.2694, allocations: 173.6 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2694, allocations: 4 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.444e-05/0.2695, allocations: 15.98 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2695, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.2695, allocations: 3.984 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2695, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2695, allocations: 4 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.2699, allocations: 207.2 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.27, allocations: 81.05 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.27, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.2701, allocations: 11.98 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.2701, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2702, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.152e-05/0.2702, allocations: 87.27 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2702, allocations: 4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002145/0.2704, allocations: 11.94 kB / 1.092 GB, free: 12.88 MB / 0.8575 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.0006864/0.2711, allocations: 0.7285 MB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.2715, allocations: 71.92 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2715, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.2717, allocations: 31.97 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.272, allocations: 22.12 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.2725, allocations: 176.2 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2727, allocations: 0.6807 MB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.608e-05/0.2728, allocations: 0 / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.2728, allocations: 23.42 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.2728, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.2888, allocations: 1.807 MB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/7.804, allocations: 9.375 kB / 1.096 GB, free: 9.398 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mWat.mWat_flow,Q_flow.y,shr.y Variables in the result:Q_flow.duration,Q_flow.height,Q_flow.offset,Q_flow.startTime,Q_flow.y,mWat.Q_flow,mWat.SHR,mWat.mWat_flow,shr.duration,shr.height,shr.offset,shr.startTime,shr.y,time