Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_11_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.006251/0.006251, allocations: 101.4 kB / 15.73 MB, free: 6.062 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.001647/0.001647, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.409/2.409, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 67.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6252/0.627, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002494/0.6295, allocations: 1.492 MB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002523/0.6298, allocations: 159.5 kB / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.6298, allocations: 0 / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.6299, allocations: 0 / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.683e-05/0.6299, allocations: 19.84 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.799e-05/0.63, allocations: 7.984 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.413e-05/0.6301, allocations: 51.8 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.6302, allocations: 11.98 kB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.223e-05/0.6303, allocations: 15.98 kB / 1.222 GB, free: 288 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.6303, allocations: 27.86 kB / 1.222 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.6303, allocations: 4 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.6304, allocations: 4 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.6304, allocations: 7.984 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.6304, allocations: 19.88 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.868e-05/0.6305, allocations: 43.67 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6305, allocations: 0 / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6305, allocations: 0 / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.6305, allocations: 0 / 1.222 GB, free: 184 kB / 0.9356 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.0005145/0.6311, allocations: 363.2 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.6311, allocations: 8.031 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.6311, allocations: 34.75 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.6312, allocations: 12.83 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.6313, allocations: 172.3 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.6313, allocations: 4.312 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.6313, allocations: 4.375 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.6316, allocations: 70.22 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.6316, allocations: 3.938 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-06/0.6316, allocations: 0 / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.6316, allocations: 0 / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.6319, allocations: 63.92 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.6322, allocations: 280.8 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.6324, allocations: 46.55 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.6326, allocations: 44.91 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.6326, allocations: 0 / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.6326, allocations: 38.56 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.6326, allocations: 0 / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005074/0.6331, allocations: 129.5 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.6332, allocations: 55.41 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.6333, allocations: 109.8 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.6333, allocations: 29.7 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.6334, allocations: 92.09 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.6334, allocations: 7.891 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.6334, allocations: 17.72 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6335, allocations: 314.8 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.6337, allocations: 27.97 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.6338, allocations: 39.95 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.6341, allocations: 64.73 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6341, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003142/0.6344, allocations: 113.8 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.6344, allocations: 8 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6344, allocations: 3.984 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.6345, allocations: 0 / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.6346, allocations: 11.98 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6346, allocations: 4 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.6347, allocations: 11.92 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.6347, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9512 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.223e-05/0.6348, allocations: 117.8 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.6348, allocations: 11.98 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.6348, allocations: 3.906 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6348, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.6348, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.6348, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.635, allocations: 173.6 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.635, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.838e-05/0.6351, allocations: 23.91 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.6351, allocations: 7.938 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.6351, allocations: 0 / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6352, allocations: 0 / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6352, allocations: 0 / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.6355, allocations: 195.4 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.6356, allocations: 85.11 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.6356, allocations: 3.984 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.6357, allocations: 11.98 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.6357, allocations: 4 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.6357, allocations: 0 / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.519e-05/0.6358, allocations: 87.27 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.843e-06/0.6358, allocations: 0 / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002109/0.636, allocations: 15.94 kB / 1.225 GB, free: 12.97 MB / 0.9512 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.000641/0.6367, allocations: 0.7362 MB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003162/0.637, allocations: 71.92 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.637, allocations: 0 / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.6371, allocations: 35.91 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.6374, allocations: 19.92 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.6378, allocations: 164.2 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.6381, allocations: 0.6845 MB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.077e-05/0.6381, allocations: 0 / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.6382, allocations: 11.44 kB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.6382, allocations: 0 / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.22/1.858, allocations: 1.772 MB / 1.228 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/15.46, allocations: 13.3 kB / 1.228 GB, free: 9.527 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches