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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_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.001169/0.001169, allocations: 108 kB / 15.61 MB, free: 152 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.0012/0.0012, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.492/2.492, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 71.89 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5535/0.5549, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002552/0.5575, allocations: 1.509 MB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000227/0.5578, allocations: 147.6 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.5578, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.5579, allocations: 3.938 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.882e-05/0.5579, allocations: 11.81 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.229e-05/0.558, allocations: 23.91 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.651e-05/0.5581, allocations: 43.86 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.846e-05/0.5582, allocations: 8 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.089e-05/0.5582, allocations: 19.92 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.396e-05/0.5583, allocations: 27.89 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.5583, allocations: 4 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.5583, allocations: 4 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.5584, allocations: 4 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.5584, allocations: 23.86 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.363e-05/0.5585, allocations: 42.14 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5585, allocations: 0 / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5585, allocations: 0 / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5585, allocations: 0 / 1.019 GB, free: 0.6211 MB / 0.7637 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.0004689/0.559, allocations: 367.3 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.559, allocations: 8.031 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.559, allocations: 34.75 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.062e-05/0.5591, allocations: 4.938 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.5592, allocations: 172.2 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.5592, allocations: 8.312 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.5592, allocations: 384 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.5595, allocations: 70.2 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5595, allocations: 3.938 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5595, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.5595, allocations: 3.984 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.5598, allocations: 67.92 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.5601, allocations: 268.9 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.5604, allocations: 66.47 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.5605, allocations: 36.91 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.5605, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.5606, allocations: 30.56 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.5606, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005261/0.5611, allocations: 133.4 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.5611, allocations: 51.41 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.5612, allocations: 109.8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.5612, allocations: 33.64 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.5613, allocations: 84.12 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.5613, allocations: 7.906 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.5613, allocations: 17.72 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.5614, allocations: 314.8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.5616, allocations: 35.95 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.5617, allocations: 23.97 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.562, allocations: 84.66 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.562, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000325/0.5624, allocations: 101.5 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5624, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5624, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.5624, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.5625, allocations: 23.97 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5626, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.139e-05/0.5626, allocations: 11.98 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.5627, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 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 7.164e-05/0.5627, allocations: 117.8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.5628, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.5628, allocations: 3.906 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.5628, allocations: 8 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.5628, allocations: 3.984 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.5628, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.563, allocations: 173.5 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.563, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.762e-05/0.5631, allocations: 11.98 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5631, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.5631, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5631, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5631, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.5635, allocations: 203.7 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.5635, allocations: 81.09 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.5635, allocations: 7.984 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.5637, allocations: 7.984 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.5637, allocations: 15.98 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.5637, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.846e-05/0.5638, allocations: 91.22 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5638, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00023/0.564, allocations: 11.89 kB / 1.022 GB, free: 13.42 MB / 0.7794 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.0006287/0.5646, allocations: 0.728 MB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.565, allocations: 67.92 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.565, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.5652, allocations: 39.95 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.5655, allocations: 21.14 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.5659, allocations: 164.2 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.5662, allocations: 0.6885 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.606e-05/0.5662, allocations: 0 / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.5663, allocations: 15.44 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5663, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3658/0.9321, allocations: 1.739 MB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.879/9.811, allocations: 12.02 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > 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/jenkins1/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