Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_latest_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.004834/0.004834, allocations: 98.56 kB / 15.73 MB, free: 6.008 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.001374/0.001374, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.242/1.242, 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 12.0.0-master/package.mo): time 2.439/2.439, allocations: 482.6 MB / 0.7551 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 69.69 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2509, allocations: 162.3 MB / 1.242 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002215/0.2532, allocations: 1.502 MB / 1.243 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002204/0.2534, allocations: 147.5 kB / 1.243 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.039e-05/0.2534, allocations: 0 / 1.243 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.2535, allocations: 0 / 1.243 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.2535, allocations: 15.84 kB / 1.244 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.307e-05/0.2536, allocations: 15.98 kB / 1.244 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.323e-05/0.2537, allocations: 39.86 kB / 1.244 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.2537, allocations: 19.98 kB / 1.244 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.435e-05/0.2538, allocations: 15.92 kB / 1.244 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.108e-05/0.2539, allocations: 19.92 kB / 1.244 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2539, allocations: 4 kB / 1.244 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-06/0.2539, allocations: 4 kB / 1.244 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.2539, allocations: 11.92 kB / 1.244 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.2539, allocations: 19.88 kB / 1.244 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.238e-05/0.254, allocations: 44.08 kB / 1.244 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.254, allocations: 4 kB / 1.244 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.452e-06/0.254, allocations: 0 / 1.244 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2541, allocations: 4 kB / 1.244 GB, free: 7.016 MB / 0.9669 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.0004881/0.2545, allocations: 365 kB / 1.244 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.2546, allocations: 8.031 kB / 1.244 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.2546, allocations: 38.69 kB / 1.244 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.148e-05/0.2547, allocations: 12.89 kB / 1.244 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2548, allocations: 172.3 kB / 1.244 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2548, allocations: 384 / 1.244 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.2548, allocations: 4.375 kB / 1.244 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.255, allocations: 70.22 kB / 1.244 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.255, allocations: 3.938 kB / 1.244 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.2551, allocations: 0 / 1.244 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.2551, allocations: 0 / 1.244 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.2553, allocations: 67.92 kB / 1.244 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.2557, allocations: 272.8 kB / 1.245 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.2559, allocations: 58.53 kB / 1.245 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.256, allocations: 38.41 kB / 1.245 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.256, allocations: 4 kB / 1.245 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.256, allocations: 30.56 kB / 1.245 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2561, allocations: 0 / 1.245 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000492/0.2565, allocations: 129.5 kB / 1.245 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2566, allocations: 55.41 kB / 1.245 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/0.2567, allocations: 113.8 kB / 1.245 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.2567, allocations: 29.7 kB / 1.245 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.2567, allocations: 80.14 kB / 1.245 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.2568, allocations: 19.84 kB / 1.245 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.2568, allocations: 9.719 kB / 1.245 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2569, allocations: 322.8 kB / 1.246 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.2571, allocations: 31.97 kB / 1.246 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.2572, allocations: 31.95 kB / 1.246 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.2575, allocations: 73 kB / 1.246 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2575, allocations: 0 / 1.246 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003021/0.2578, allocations: 105.5 kB / 1.246 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.2578, allocations: 4 kB / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.2578, allocations: 4 kB / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.2578, allocations: 0 / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.2579, allocations: 11.98 kB / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2579, allocations: 0 / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.709e-05/0.258, allocations: 23.86 kB / 1.246 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.258, allocations: 0 / 1.246 GB, free: 4.637 MB / 0.9669 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.089e-05/0.2581, allocations: 121.8 kB / 1.246 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.2581, allocations: 3.953 kB / 1.246 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.2582, allocations: 7.906 kB / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.2582, allocations: 0 / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2582, allocations: 0 / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.2582, allocations: 0 / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.2584, allocations: 173.6 kB / 1.246 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2584, allocations: 4 kB / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.545e-05/0.2585, allocations: 23.91 kB / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2585, allocations: 0 / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.2585, allocations: 8 kB / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2585, allocations: 0 / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2585, allocations: 0 / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.2588, allocations: 195.4 kB / 1.246 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.2589, allocations: 85.09 kB / 1.246 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.2589, allocations: 0 / 1.246 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.259, allocations: 15.98 kB / 1.246 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.259, allocations: 0 / 1.246 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2591, allocations: 0 / 1.246 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.608e-05/0.2591, allocations: 91.27 kB / 1.246 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2591, allocations: 4 kB / 1.246 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001963/0.2593, allocations: 8 kB / 1.247 GB, free: 3.812 MB / 0.9669 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.0006173/0.2599, allocations: 0.7362 MB / 1.247 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.2603, allocations: 63.92 kB / 1.247 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2603, allocations: 0 / 1.247 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.2604, allocations: 39.91 kB / 1.247 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.2607, allocations: 15.98 kB / 1.247 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.2611, allocations: 168.1 kB / 1.247 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.2613, allocations: 0.6768 MB / 1.248 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.199e-05/0.2614, allocations: 4 kB / 1.248 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.2614, allocations: 11.44 kB / 1.248 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.2614, allocations: 4 kB / 1.248 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.33/4.592, allocations: 1.772 MB / 1.25 GB, free: 392 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.86/25.45, allocations: 19.25 kB / 1.25 GB, free: 376 kB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches