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.001636/0.001636, 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.001427/0.001427, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.404/2.404, allocations: 437.1 MB / 0.7104 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 71.89 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4889, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003482/0.4924, allocations: 2.185 MB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.4945, allocations: 1.382 MB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.4947, allocations: 4 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005539/0.4952, allocations: 187.1 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.4956, allocations: 127.4 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.496, allocations: 144.6 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.4962, allocations: 223.2 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.4964, allocations: 46.64 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.4965, allocations: 95.58 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.4967, allocations: 91.55 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.4967, allocations: 12 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.4969, allocations: 55.89 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.497, allocations: 95.56 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.4971, allocations: 131 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.4975, allocations: 362.5 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4975, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4976, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.4976, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 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.0009182/0.4985, allocations: 0.6686 MB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4985, allocations: 12.03 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.4986, allocations: 34.75 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.139e-05/0.4987, allocations: 44.38 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.4991, allocations: 364.2 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4991, allocations: 4.125 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.4991, allocations: 8 kB / 1.024 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.4993, allocations: 77.59 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.4993, allocations: 0 / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.4994, allocations: 7.984 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4994, allocations: 0 / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.4995, allocations: 35.97 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/0.5001, allocations: 460.4 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.5003, allocations: 66.67 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.5004, allocations: 28.84 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.5004, allocations: 4 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.5006, allocations: 79.31 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.5006, allocations: 0 / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003261/0.5009, allocations: 141.3 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.501, allocations: 51.52 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005505/0.5015, allocations: 0.541 MB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.5015, allocations: 25.7 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.5017, allocations: 220 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.5017, allocations: 23.78 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.5018, allocations: 37.7 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.5019, allocations: 354.8 kB / 1.026 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.502, allocations: 51.97 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.5022, allocations: 82.55 kB / 1.026 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.5023, allocations: 91.78 kB / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5024, allocations: 0 / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003136/0.5027, allocations: 197 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5027, allocations: 4 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.5027, allocations: 4 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.5027, allocations: 3.938 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.5029, allocations: 19.98 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.5029, allocations: 7.984 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.503, allocations: 27.8 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.503, allocations: 4 kB / 1.026 GB, free: 9.344 MB / 0.7794 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.0001746/0.5032, allocations: 182.9 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.5033, allocations: 39.53 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.286e-05/0.5033, allocations: 43.8 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5034, allocations: 7.938 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5034, allocations: 0 / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5034, allocations: 0 / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.5036, allocations: 301.5 kB / 1.027 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5036, allocations: 0 / 1.027 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-05/0.5037, allocations: 4 kB / 1.027 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5037, allocations: 0 / 1.027 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.5037, allocations: 3.984 kB / 1.027 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.5037, allocations: 3.938 kB / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.5037, allocations: 0 / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.5039, allocations: 152.5 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.504, allocations: 116.5 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.5041, allocations: 8 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.5042, allocations: 11.92 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.5042, allocations: 7.984 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.5042, allocations: 8 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003489/0.5046, allocations: 362.8 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5046, allocations: 0 / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002637/0.5049, allocations: 39.98 kB / 1.027 GB, free: 7.984 MB / 0.7794 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.001297/0.5062, allocations: 1.005 MB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.5064, allocations: 95.89 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5064, allocations: 0 / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.458e-05/0.5065, allocations: 31.97 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.5069, allocations: 72.94 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.5101, allocations: 3.095 MB / 1.031 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.5104, allocations: 0.8177 MB / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.647e-05/0.5105, allocations: 21.55 kB / 1.032 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.5106, allocations: 111.4 kB / 1.032 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.5107, allocations: 0 / 1.032 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9208/1.431, allocations: 7.142 MB / 1.039 GB, free: 11.81 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/11.49, allocations: 11.98 kB / 1.039 GB, free: 11.8 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 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.mat","/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