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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005466/0.005466, allocations: 104.8 kB / 15.74 MB, free: 6.039 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.00144/0.00144, allocations: 196.3 kB / 16.68 MB, free: 5.957 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.432/2.432, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.91 kB / 1.054 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7554/0.7568, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002679/0.7595, allocations: 1.509 MB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.7599, allocations: 143.5 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.7599, allocations: 4 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.76, allocations: 7.922 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.157e-05/0.7601, allocations: 11.86 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.885e-05/0.7602, allocations: 11.98 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.376e-05/0.7603, allocations: 55.78 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.7604, allocations: 12 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.107e-05/0.7605, allocations: 15.98 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.7605, allocations: 19.86 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.7606, allocations: 4 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-06/0.7606, allocations: 4 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.7606, allocations: 11.98 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.7606, allocations: 23.91 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.535e-05/0.7607, allocations: 38.08 kB / 1.209 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7607, allocations: 0 / 1.209 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7607, allocations: 4 kB / 1.209 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.7608, allocations: 0 / 1.209 GB, free: 11.69 MB / 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.0005031/0.7613, allocations: 355.4 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.7613, allocations: 12.03 kB / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.7614, allocations: 34.75 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.7614, allocations: 12.83 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.7615, allocations: 172.2 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.7615, allocations: 4.375 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.7615, allocations: 4.375 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.7618, allocations: 70.2 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7618, allocations: 3.938 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.7618, allocations: 0 / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7618, allocations: 4 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.7621, allocations: 63.92 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.7625, allocations: 272.8 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.7627, allocations: 58.53 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.7628, allocations: 36.92 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.7629, allocations: 0 / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.7629, allocations: 38.56 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.7629, allocations: 0 / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005251/0.7634, allocations: 133.5 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.7635, allocations: 51.41 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.7635, allocations: 109.8 kB / 1.21 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.7636, allocations: 25.7 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.7636, allocations: 92.03 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.7636, allocations: 11.84 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.7637, allocations: 17.7 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.7638, allocations: 314.8 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.7639, allocations: 39.91 kB / 1.211 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.7641, allocations: 31.95 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.7644, allocations: 72.72 kB / 1.211 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7644, allocations: 4 kB / 1.211 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003253/0.7647, allocations: 97.56 kB / 1.211 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.7647, allocations: 4 kB / 1.211 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7647, allocations: 0 / 1.211 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7648, allocations: 0 / 1.211 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.7649, allocations: 15.98 kB / 1.211 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.7649, allocations: 0 / 1.211 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.162e-05/0.765, allocations: 23.88 kB / 1.211 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.765, allocations: 0 / 1.211 GB, free: 9.309 MB / 0.9356 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.715e-05/0.7651, allocations: 113.8 kB / 1.211 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.7651, allocations: 4 kB / 1.211 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.7651, allocations: 7.906 kB / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.7651, allocations: 0 / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7651, allocations: 0 / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.7652, allocations: 4 kB / 1.211 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.7653, allocations: 173.5 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7653, allocations: 4 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.401e-05/0.7654, allocations: 11.98 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7654, allocations: 336 / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.7655, allocations: 4 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.7655, allocations: 7.938 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.7655, allocations: 0 / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.7658, allocations: 203.3 kB / 1.212 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.7659, allocations: 77.11 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.7659, allocations: 0 / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.766, allocations: 15.98 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.766, allocations: 4 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.7661, allocations: 3.984 kB / 1.212 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.7661, allocations: 87.28 kB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7661, allocations: 0 / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002121/0.7663, allocations: 8 kB / 1.212 GB, free: 8.488 MB / 0.9356 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.0006236/0.767, allocations: 0.7357 MB / 1.213 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.7673, allocations: 67.92 kB / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7673, allocations: 3.938 kB / 1.213 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.7675, allocations: 35.91 kB / 1.213 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.7678, allocations: 23.92 kB / 1.213 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.7683, allocations: 164.2 kB / 1.213 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.7685, allocations: 0.6807 MB / 1.214 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.226e-05/0.7686, allocations: 4 kB / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.7686, allocations: 15.42 kB / 1.214 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.7686, allocations: 0 / 1.214 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.7872, allocations: 1.8 MB / 1.215 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/8.146, allocations: 12.2 kB / 1.215 GB, free: 5.012 MB / 0.9356 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) "" Variables in the reference:time,mWat.mWat_flow,Q_flow.y,shr.y Variables in the result:Q_flow.duration,Q_flow.height,Q_flow.offset,Q_flow.startTime,Q_flow.y,mWat.Q_flow,mWat.SHR,mWat.mWat_flow,shr.duration,shr.height,shr.offset,shr.startTime,shr.y,time