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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001242/0.001242, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001322/0.001322, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.282/1.282, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.566/2.566, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 65.89 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2538, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002653/0.2565, allocations: 1.576 MB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002448/0.2568, allocations: 151.5 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.2569, allocations: 0 / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.2569, allocations: 0 / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.538e-05/0.257, allocations: 15.86 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.203e-05/0.2571, allocations: 8 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.688e-05/0.2571, allocations: 43.91 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.05e-05/0.2572, allocations: 4 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.2573, allocations: 27.84 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.753e-05/0.2574, allocations: 27.91 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2574, allocations: 4 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.2574, allocations: 0 / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.2574, allocations: 4 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.2575, allocations: 23.86 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.548e-05/0.2575, allocations: 36.11 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2576, allocations: 0 / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2576, allocations: 0 / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.2576, allocations: 0 / 1.054 GB, free: 6.309 MB / 0.8106 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.0004825/0.2581, allocations: 363.4 kB / 1.054 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2581, allocations: 15.97 kB / 1.054 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.2581, allocations: 34.73 kB / 1.054 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.2582, allocations: 4.844 kB / 1.054 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.712e-05/0.2583, allocations: 168.4 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.2583, allocations: 384 / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.2583, allocations: 4.375 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.2585, allocations: 74.16 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2586, allocations: 3.938 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2586, allocations: 0 / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2586, allocations: 3.938 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.2589, allocations: 63.92 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.2592, allocations: 276.8 kB / 1.055 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.2594, allocations: 62.41 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.2595, allocations: 36.92 kB / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.2596, allocations: 3.984 kB / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.2596, allocations: 34.56 kB / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2596, allocations: 4 kB / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005118/0.2601, allocations: 125.6 kB / 1.055 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.2602, allocations: 51.41 kB / 1.055 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.2602, allocations: 113.8 kB / 1.055 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.2603, allocations: 25.7 kB / 1.055 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.2603, allocations: 88.14 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.2603, allocations: 15.73 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.2604, allocations: 17.66 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.2605, allocations: 314.8 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.2606, allocations: 35.95 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.2608, allocations: 31.97 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.261, allocations: 72.72 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.261, allocations: 0 / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003045/0.2613, allocations: 97.62 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.2614, allocations: 4 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2614, allocations: 0 / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2614, allocations: 0 / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.2615, allocations: 19.92 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.2615, allocations: 3.984 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.871e-05/0.2616, allocations: 11.98 kB / 1.056 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.2616, allocations: 0 / 1.056 GB, free: 3.934 MB / 0.8106 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.882e-05/0.2617, allocations: 117.8 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.2617, allocations: 7.906 kB / 1.056 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.2617, allocations: 7.906 kB / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2618, allocations: 0 / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2618, allocations: 0 / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2618, allocations: 0 / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.2619, allocations: 173.6 kB / 1.056 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2619, allocations: 4 kB / 1.056 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.893e-05/0.262, allocations: 19.98 kB / 1.056 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.262, allocations: 0 / 1.056 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.2621, allocations: 0 / 1.056 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2621, allocations: 3.938 kB / 1.056 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2621, allocations: 4 kB / 1.056 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.2624, allocations: 199.3 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.2624, allocations: 88.95 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.2625, allocations: 0 / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.2626, allocations: 11.98 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.2626, allocations: 3.984 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.2626, allocations: 4.375 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.007e-05/0.2627, allocations: 83.59 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2627, allocations: 0 / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002098/0.2629, allocations: 8 kB / 1.057 GB, free: 3.113 MB / 0.8106 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.0005746/0.2635, allocations: 0.7319 MB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003061/0.2638, allocations: 75.86 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2638, allocations: 0 / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.2639, allocations: 35.95 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.2643, allocations: 9.969 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.2647, allocations: 177.9 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.2649, allocations: 0.6809 MB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.826e-05/0.2649, allocations: 3.984 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.265, allocations: 15.44 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.265, allocations: 7.875 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05315/0.3181, allocations: 1.506 MB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.3184, allocations: 228.9 kB / 1.06 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.086, allocations: 1 kB / 1.06 GB, free: 15.68 MB / 0.8262 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=50 --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