Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.005075/0.005075, allocations: 101 kB / 15.73 MB, free: 6.059 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.001267/0.001267, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.387/1.387, 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 10.1.1-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437.1 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 63.91 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.6995, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003668/0.7032, allocations: 2.186 MB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.7054, allocations: 1.378 MB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.7055, allocations: 0 / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.7061, allocations: 175.2 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.7064, allocations: 143.2 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.7068, allocations: 132.6 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.7071, allocations: 231.1 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.7072, allocations: 48.38 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.7074, allocations: 91.56 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.7075, allocations: 103.5 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.7076, allocations: 8 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.7077, allocations: 51.97 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.7078, allocations: 87.67 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.708, allocations: 142.8 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004403/0.7084, allocations: 354 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.7084, allocations: 0 / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7084, allocations: 4 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.7084, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00099/0.7094, allocations: 0.6956 MB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.7095, allocations: 8.922 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.7095, allocations: 38.69 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.271e-05/0.7096, allocations: 48.59 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.71, allocations: 360.7 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.7101, allocations: 12.12 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.7101, allocations: 4 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.7103, allocations: 77.66 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.7103, allocations: 0 / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.7103, allocations: 0 / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.7103, allocations: 7.938 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.7104, allocations: 43.91 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006945/0.7111, allocations: 452.6 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.7114, allocations: 70.61 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.213e-05/0.7114, allocations: 28.84 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.7115, allocations: 3.984 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.7116, allocations: 75.38 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 3.266e-06/0.7117, allocations: 112 / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.000343/0.712, allocations: 153.2 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.7121, allocations: 55.39 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.7127, allocations: 0.5333 MB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.7127, allocations: 29.7 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.7129, allocations: 220 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.7129, allocations: 15.89 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.181e-05/0.713, allocations: 41.7 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.7132, allocations: 358.8 kB / 1.174 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.7133, allocations: 47.97 kB / 1.174 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.7135, allocations: 74.55 kB / 1.174 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.7136, allocations: 87.75 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7136, allocations: 0 / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000317/0.714, allocations: 201.3 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.714, allocations: 4 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.714, allocations: 0 / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.714, allocations: 3.938 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.7141, allocations: 27.92 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.7142, allocations: 0 / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.7143, allocations: 15.94 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.7143, allocations: 8 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001905/0.7145, allocations: 183.5 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.7146, allocations: 43.72 kB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.68e-05/0.7146, allocations: 47.8 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.7147, allocations: 7.875 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7147, allocations: 0 / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.7147, allocations: 0 / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.7149, allocations: 301.5 kB / 1.175 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.715, allocations: 0 / 1.175 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.715, allocations: 4.25 kB / 1.175 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.715, allocations: 0 / 1.175 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.715, allocations: 15.98 kB / 1.175 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.715, allocations: 3.938 kB / 1.175 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.715, allocations: 0 / 1.175 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.7153, allocations: 152.8 kB / 1.176 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.7154, allocations: 116.8 kB / 1.176 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.7154, allocations: 0 / 1.176 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/0.7155, allocations: 19.86 kB / 1.176 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.7156, allocations: 11.98 kB / 1.176 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.7156, allocations: 4 kB / 1.176 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004058/0.716, allocations: 366.8 kB / 1.176 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.716, allocations: 0 / 1.176 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002614/0.7163, allocations: 47.92 kB / 1.176 GB, free: 9.23 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00202/0.7183, allocations: 1.005 MB / 1.177 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.7186, allocations: 95.89 kB / 1.177 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7186, allocations: 0 / 1.177 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.7187, allocations: 27.98 kB / 1.177 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.7191, allocations: 52.31 kB / 1.177 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.723, allocations: 3.088 MB / 1.18 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.7235, allocations: 0.8138 MB / 1.181 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.618e-05/0.7236, allocations: 29.52 kB / 1.181 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.7237, allocations: 115.4 kB / 1.181 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.7237, allocations: 0 / 1.181 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.7568, allocations: 7.266 MB / 1.188 GB, free: 12.91 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.588/9.345, allocations: 7.688 kB / 1.188 GB, free: 12.9 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches