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.0009554/0.0009554, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.006139/0.00614, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.278/1.278, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.402/2.402, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 11.98 kB / 0.873 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5548/0.5552, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.001894/0.5571, allocations: 1.235 MB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002728/0.5574, allocations: 139.6 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.5575, allocations: 4 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.5575, allocations: 7.938 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.047e-05/0.5576, allocations: 7.922 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.216e-05/0.5577, allocations: 7.984 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.838e-05/0.5578, allocations: 51.78 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.5579, allocations: 8 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.718e-05/0.558, allocations: 19.92 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.456e-05/0.5581, allocations: 15.92 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.5581, allocations: 8 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-06/0.5581, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.5581, allocations: 3.984 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.5582, allocations: 41.58 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.184e-05/0.5583, allocations: 46.11 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5583, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5583, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.5583, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 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.0005294/0.5589, allocations: 371.3 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5589, allocations: 8.031 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.5589, allocations: 34.75 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.559, allocations: 8.922 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.5591, allocations: 176.2 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.5591, allocations: 384 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.5591, allocations: 384 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.5594, allocations: 86.16 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.5594, allocations: 3.938 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.5594, allocations: 0 / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.5594, allocations: 0 / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.5597, allocations: 87.92 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.5601, allocations: 272.9 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.5603, allocations: 66.47 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.5605, allocations: 52.92 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.5605, allocations: 0 / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.5605, allocations: 30.56 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.5605, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005615/0.5611, allocations: 173.4 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.5611, allocations: 51.41 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.5612, allocations: 105.8 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.5612, allocations: 25.7 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.5613, allocations: 88.14 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.5613, allocations: 7.906 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.5613, allocations: 17.7 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.5614, allocations: 314.8 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.5616, allocations: 43.91 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.5617, allocations: 43.95 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.562, allocations: 96.72 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.562, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003389/0.5624, allocations: 125.8 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.5624, allocations: 4 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.5624, allocations: 48 / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.5624, allocations: 3.984 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.5626, allocations: 27.98 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.5626, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.032e-05/0.5627, allocations: 19.97 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.5627, allocations: 0 / 1.027 GB, free: 11.71 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 6.889e-05/0.5628, allocations: 122.3 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.5628, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.5628, allocations: 11.91 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5628, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5628, allocations: 4 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5628, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.563, allocations: 173.6 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.563, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.5631, allocations: 23.98 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5631, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.5631, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.5631, allocations: 3.938 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5632, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.5635, allocations: 227.2 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.5636, allocations: 85.05 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.5636, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.5637, allocations: 19.98 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.5638, allocations: 3.984 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.5638, allocations: 4 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.5638, allocations: 83.28 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5638, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002099/0.564, allocations: 8 kB / 1.028 GB, free: 10.86 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.0006265/0.5647, allocations: 0.7591 MB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.565, allocations: 95.92 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.565, allocations: 3.938 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.5652, allocations: 39.97 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.5655, allocations: 11.98 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.5659, allocations: 184.5 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.5661, allocations: 0.6809 MB / 1.029 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.5661, allocations: 4 kB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.5662, allocations: 19.42 kB / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.5662, allocations: 0 / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8175/1.384, allocations: 1.447 MB / 1.031 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/1.384, allocations: 225.3 kB / 1.031 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.951, allocations: 0 / 1.031 GB, free: 7.445 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