Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_9_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.0009204/0.0009202, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005915/0.005915, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.156/2.156, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.000306, allocations: 11.98 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6009/0.6012, allocations: 142.4 MB / 0.9552 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.001997/0.6032, allocations: 1.885 MB / 0.957 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.6049, allocations: 1.321 MB / 0.9583 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.605, allocations: 2.094 kB / 0.9583 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004774/0.6055, allocations: 191.6 kB / 0.9585 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.6058, allocations: 111.5 kB / 0.9586 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.6061, allocations: 127.1 kB / 0.9587 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.6063, allocations: 220.9 kB / 0.9589 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.6064, allocations: 40.95 kB / 0.959 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.6066, allocations: 85.23 kB / 0.959 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.6067, allocations: 87.25 kB / 0.9591 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.6067, allocations: 4.125 kB / 0.9591 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.6068, allocations: 52.7 kB / 0.9592 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.6069, allocations: 80.8 kB / 0.9593 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.252e-05/0.607, allocations: 157.4 kB / 0.9594 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.6072, allocations: 337.6 kB / 0.9597 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.6072, allocations: 1.375 kB / 0.9597 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6072, allocations: 4 kB / 0.9597 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.6072, allocations: 3.938 kB / 0.9597 GB, free: 4.18 MB / 0.7169 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.0006233/0.6079, allocations: 0.6145 MB / 0.9603 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.6079, allocations: 9.625 kB / 0.9603 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.6079, allocations: 36.12 kB / 0.9604 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.608, allocations: 48.98 kB / 0.9604 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.6083, allocations: 362 kB / 0.9608 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.6083, allocations: 10.78 kB / 0.9608 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.6083, allocations: 4 kB / 0.9608 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.6085, allocations: 78.97 kB / 0.9609 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.6085, allocations: 1.156 kB / 0.9609 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.6085, allocations: 3.938 kB / 0.9609 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.6085, allocations: 1.156 kB / 0.9609 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.6086, allocations: 39.31 kB / 0.9609 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.6091, allocations: 468.1 kB / 0.9614 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.6093, allocations: 58.75 kB / 0.9614 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.6093, allocations: 27.06 kB / 0.9614 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.6093, allocations: 6 kB / 0.9614 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.6095, allocations: 80.69 kB / 0.9615 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.6095, allocations: 0 / 0.9615 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002659/0.6097, allocations: 140.7 kB / 0.9617 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.6098, allocations: 56.83 kB / 0.9617 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.6102, allocations: 0.5276 MB / 0.9622 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.6103, allocations: 35.67 kB / 0.9623 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.6104, allocations: 212.6 kB / 0.9625 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.6104, allocations: 22.78 kB / 0.9625 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.6104, allocations: 23.7 kB / 0.9625 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.956e-05/0.6105, allocations: 359.9 kB / 0.9628 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.6106, allocations: 50.62 kB / 0.9629 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.599e-05/0.6107, allocations: 71.81 kB / 0.963 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.6108, allocations: 96.97 kB / 0.9631 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6109, allocations: 112 / 0.9631 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002518/0.6111, allocations: 197.3 kB / 0.9632 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6111, allocations: 7.156 kB / 0.9633 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6111, allocations: 1.125 kB / 0.9633 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.6112, allocations: 5.031 kB / 0.9633 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.744e-05/0.6113, allocations: 21.86 kB / 0.9633 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.6113, allocations: 9.047 kB / 0.9633 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.6114, allocations: 25.75 kB / 0.9633 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.6114, allocations: 7.641 kB / 0.9633 GB, free: 1.203 MB / 0.7169 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.0001215/0.6115, allocations: 182.1 kB / 0.9635 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.6116, allocations: 38.28 kB / 0.9635 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.6116, allocations: 47.05 kB / 0.9636 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.6116, allocations: 5.094 kB / 0.9636 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6116, allocations: 0 / 0.9636 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.6117, allocations: 5.094 kB / 0.9636 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.6118, allocations: 299.5 kB / 0.9639 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6118, allocations: 1.031 kB / 0.9639 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.6119, allocations: 3.781 kB / 0.9639 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.6119, allocations: 0 / 0.9639 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.6119, allocations: 1.531 kB / 0.9639 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6119, allocations: 3.938 kB / 0.9639 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6119, allocations: 1.344 kB / 0.9639 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.6121, allocations: 160.4 kB / 0.964 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.6121, allocations: 116.3 kB / 0.9641 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.6122, allocations: 5.25 kB / 0.9641 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.151e-05/0.6123, allocations: 13.58 kB / 0.9642 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.6123, allocations: 9.797 kB / 0.9642 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.6123, allocations: 2.594 kB / 0.9642 GB, free: 464 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002921/0.6126, allocations: 363.1 kB / 0.9645 GB, free: 252 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6126, allocations: 0 / 0.9645 GB, free: 252 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002326/0.6129, allocations: 54.89 kB / 0.9646 GB, free: 232 kB / 0.7169 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.001146/0.614, allocations: 0.993 MB / 0.9655 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.6142, allocations: 94.3 kB / 0.9656 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.6142, allocations: 4.062 kB / 0.9656 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.571e-05/0.6143, allocations: 27.58 kB / 0.9657 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.6147, allocations: 58.22 kB / 0.9657 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.6179, allocations: 3.19 MB / 0.9688 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.6182, allocations: 0.8169 MB / 0.9696 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.138e-05/0.6183, allocations: 21.89 kB / 0.9697 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.6184, allocations: 117.2 kB / 0.9698 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6184, allocations: 0 / 0.9698 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.71/3.328, allocations: 6.735 MB / 0.9763 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/3.329, allocations: 258.8 kB / 0.9766 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.821/6.15, allocations: 0 / 0.9766 GB, free: 8.781 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches