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.001455/0.001455, allocations: 108 kB / 15.6 MB, free: 132 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.001428/0.001428, allocations: 196.9 kB / 16.54 MB, free: 6.672 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.6/2.6, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 67.95 kB / 0.9087 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2404, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002494/0.2429, allocations: 1.504 MB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002202/0.2431, allocations: 141.4 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.2432, allocations: 0 / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.577e-05/0.2432, allocations: 7.938 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.042e-05/0.2433, allocations: 15.8 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.617e-05/0.2433, allocations: 15.97 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.431e-05/0.2434, allocations: 43.86 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.2435, allocations: 12 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.498e-05/0.2436, allocations: 19.92 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.2436, allocations: 23.91 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.2436, allocations: 4 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.2437, allocations: 4 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.2437, allocations: 8 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.2437, allocations: 19.86 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.088e-05/0.2438, allocations: 40.09 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2438, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2438, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.2438, allocations: 4 kB / 1.066 GB, free: 12.32 MB / 0.8262 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.0004985/0.2443, allocations: 363.4 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2444, allocations: 12.03 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.2444, allocations: 30.75 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.967e-05/0.2444, allocations: 4.844 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2445, allocations: 164.4 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.2446, allocations: 384 / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2446, allocations: 16.31 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.2448, allocations: 70.2 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2448, allocations: 3.938 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.2448, allocations: 0 / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.2448, allocations: 0 / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.2451, allocations: 59.94 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.2454, allocations: 276.8 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.2456, allocations: 62.47 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.2458, allocations: 36.92 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.2458, allocations: 0 / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.2458, allocations: 42.48 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.2458, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004888/0.2463, allocations: 125.8 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.2464, allocations: 59.34 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.805e-05/0.2465, allocations: 105.8 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2465, allocations: 25.7 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.2465, allocations: 96.03 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.2466, allocations: 7.844 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.2466, allocations: 13.72 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2467, allocations: 314.8 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.2469, allocations: 39.95 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.247, allocations: 31.95 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.2473, allocations: 76.66 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.2473, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002964/0.2476, allocations: 101.6 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.2476, allocations: 4 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.2476, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.2476, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2477, allocations: 19.97 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2477, allocations: 0 / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.462e-05/0.2478, allocations: 15.98 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.2478, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 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.652e-05/0.2479, allocations: 113.8 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.2479, allocations: 7.906 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.059e-05/0.248, allocations: 7.906 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.248, allocations: 0 / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.248, allocations: 0 / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.248, allocations: 7.984 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.2482, allocations: 173.6 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2482, allocations: 4 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.2483, allocations: 11.98 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2483, allocations: 0 / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.2483, allocations: 0 / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2483, allocations: 4 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2483, allocations: 0 / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.2487, allocations: 207.3 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.2487, allocations: 84.95 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.2487, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2488, allocations: 11.98 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.2489, allocations: 7.984 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.2489, allocations: 0 / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.2489, allocations: 83.28 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2489, allocations: 4 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001984/0.2491, allocations: 8 kB / 1.069 GB, free: 9.125 MB / 0.8262 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.0006315/0.2498, allocations: 0.7319 MB / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.2501, allocations: 67.92 kB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2501, allocations: 4 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.2502, allocations: 36.28 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.2505, allocations: 13.5 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.2509, allocations: 172.2 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.2512, allocations: 0.6846 MB / 1.07 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.396e-05/0.2512, allocations: 8.078 kB / 1.07 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.2512, allocations: 15.44 kB / 1.07 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2512, allocations: 0 / 1.07 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9144/1.166, allocations: 1.736 MB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/16.91, allocations: 1.75 kB / 1.072 GB, free: 5.695 MB / 0.8262 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