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.007232/0.007232, allocations: 99.34 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.002171/0.002171, allocations: 198.3 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.198/1.198, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.243/2.243, allocations: 437.1 MB / 0.7106 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 63.91 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6104/0.6121, allocations: 151.6 MB / 1.166 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003079/0.6152, allocations: 2.194 MB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.6169, allocations: 1.37 MB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.617, allocations: 4 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004705/0.6175, allocations: 187.1 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.6178, allocations: 123.3 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.6181, allocations: 136.6 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.6183, allocations: 235.1 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.6184, allocations: 48.38 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.6186, allocations: 95.5 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.6187, allocations: 95.55 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.6187, allocations: 8 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.6189, allocations: 55.97 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.523e-05/0.619, allocations: 103.5 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.6191, allocations: 130.9 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.6195, allocations: 362 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.6195, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6195, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.6195, allocations: 0 / 1.171 GB, free: 14.73 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.0008105/0.6203, allocations: 0.6917 MB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.6203, allocations: 12.86 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.6204, allocations: 46.73 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.6205, allocations: 48.59 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.6208, allocations: 348.8 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.6209, allocations: 8.125 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.6209, allocations: 8 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.621, allocations: 73.66 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.621, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.6211, allocations: 4 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.6211, allocations: 3.984 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.922e-05/0.6212, allocations: 43.92 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.6218, allocations: 452.6 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.6219, allocations: 70.61 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.622, allocations: 24.86 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.622, allocations: 4 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.6222, allocations: 75.38 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 3.076e-06/0.6222, allocations: 112 / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0002947/0.6225, allocations: 157.2 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.6225, allocations: 51.41 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.6231, allocations: 0.5333 MB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.6231, allocations: 33.7 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.6233, allocations: 224 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.6233, allocations: 11.91 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.6234, allocations: 41.7 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6235, allocations: 354.8 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.599e-05/0.6236, allocations: 47.98 kB / 1.174 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.6237, allocations: 81.05 kB / 1.175 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.6239, allocations: 88.45 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6239, allocations: 4 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002855/0.6242, allocations: 193.3 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.6242, allocations: 4 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.6242, allocations: 0 / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6242, allocations: 7.922 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.6243, allocations: 23.94 kB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.6243, allocations: 8 kB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.6244, allocations: 19.94 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.6245, allocations: 7.984 kB / 1.175 GB, free: 10.72 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.0001568/0.6246, allocations: 182.9 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.6247, allocations: 47.66 kB / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.6247, allocations: 39.81 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6248, allocations: 3.938 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.6248, allocations: 0 / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6248, allocations: 7.984 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.625, allocations: 301.5 kB / 1.175 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.625, allocations: 0 / 1.175 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.6251, allocations: 7.984 kB / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.6251, allocations: 0 / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.6251, allocations: 4 kB / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6251, allocations: 3.938 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.6251, allocations: 0 / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.6253, allocations: 156.8 kB / 1.176 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-05/0.6254, allocations: 116.8 kB / 1.176 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.6254, allocations: 4.312 kB / 1.176 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.6255, allocations: 15.88 kB / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.6256, allocations: 11.92 kB / 1.176 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.6256, allocations: 8 kB / 1.176 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003527/0.6259, allocations: 366.8 kB / 1.176 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6259, allocations: 0 / 1.176 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002264/0.6262, allocations: 43.94 kB / 1.176 GB, free: 9.332 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.001703/0.6279, allocations: 0.9954 MB / 1.177 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.6281, allocations: 91.91 kB / 1.177 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.6281, allocations: 0 / 1.177 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.6282, allocations: 32.05 kB / 1.177 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.6285, allocations: 62.97 kB / 1.177 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.6317, allocations: 3.083 MB / 1.18 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.6321, allocations: 0.8099 MB / 1.181 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.435e-05/0.6322, allocations: 33.52 kB / 1.181 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.6323, allocations: 111.4 kB / 1.181 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.6323, allocations: 4 kB / 1.181 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.649/3.281, allocations: 7.264 MB / 1.188 GB, free: 13.01 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/15.51, allocations: 9.75 kB / 1.188 GB, free: 13 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 & /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=400 --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