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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001545/0.001545, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001952/0.001952, allocations: 197.4 kB / 16.14 MB, free: 6.734 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.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.35/2.35, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.91 kB / 0.8687 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5647/0.5661, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002523/0.5687, allocations: 1.57 MB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002234/0.5689, allocations: 151.5 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.084e-05/0.5689, allocations: 0 / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.569, allocations: 0 / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.569, allocations: 11.92 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.313e-05/0.5691, allocations: 7.984 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.749e-05/0.5692, allocations: 51.78 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.5693, allocations: 12 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.5693, allocations: 15.92 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.274e-05/0.5694, allocations: 19.92 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.5694, allocations: 0 / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-06/0.5694, allocations: 4 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.5694, allocations: 7.984 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.5695, allocations: 15.88 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.204e-05/0.5696, allocations: 50.11 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5696, allocations: 4 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5696, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.5696, allocations: 0 / 1.019 GB, free: 0.918 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.0004652/0.5701, allocations: 359.3 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.5701, allocations: 8.031 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.5702, allocations: 38.69 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.5702, allocations: 4.938 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.841e-05/0.5703, allocations: 176.2 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.5703, allocations: 4.375 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.5703, allocations: 384 / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.5705, allocations: 74.22 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.5706, allocations: 3.938 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.5706, allocations: 0 / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.5706, allocations: 0 / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.5709, allocations: 67.92 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.5712, allocations: 276.8 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.5714, allocations: 50.53 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.5715, allocations: 48.92 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.5716, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.5716, allocations: 34.5 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.5716, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005006/0.5721, allocations: 133.5 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.5721, allocations: 55.41 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/0.5722, allocations: 105.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.5722, allocations: 25.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.5723, allocations: 88.14 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.5723, allocations: 7.812 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.5723, allocations: 17.72 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.5724, allocations: 318.8 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.5726, allocations: 27.97 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.5727, allocations: 35.95 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.573, allocations: 76.66 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.573, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002821/0.5733, allocations: 101.6 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5733, allocations: 9.875 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.5733, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.5733, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.5734, allocations: 16.31 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.5734, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.5735, allocations: 11.98 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.5735, allocations: 0 / 1.021 GB, free: 14.55 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.275e-05/0.5736, allocations: 118.3 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.5736, allocations: 7.906 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.5737, allocations: 11.89 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.5737, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5737, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.5737, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.5738, allocations: 173.6 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5738, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.63e-05/0.5739, allocations: 23.91 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5739, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.574, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.574, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.574, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.5743, allocations: 195.4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.5743, allocations: 96.88 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.5744, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.5745, allocations: 11.98 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.5745, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.5745, allocations: 8 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.782e-05/0.5746, allocations: 87.27 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5746, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002065/0.5748, allocations: 12 kB / 1.021 GB, free: 13.71 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.0005734/0.5753, allocations: 0.7319 MB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.5757, allocations: 67.92 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5757, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.5758, allocations: 39.91 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.5761, allocations: 7.984 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.5765, allocations: 170 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.5767, allocations: 0.6887 MB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.5767, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.5768, allocations: 15.42 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5768, allocations: 0 / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.856/3.433, allocations: 1.501 MB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/3.434, allocations: 224.8 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/5.318, allocations: 7.938 kB / 1.025 GB, free: 10.29 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