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.0012/0.0012, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001321/0.00132, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.223/1.223, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.218/2.218, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 71.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6012/0.6026, allocations: 140.3 MB / 0.949 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002938/0.6056, allocations: 2.233 MB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.6072, allocations: 1.353 MB / 0.9525 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.6073, allocations: 6.469 kB / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005133/0.6078, allocations: 187.5 kB / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.6081, allocations: 111.6 kB / 0.9528 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.6084, allocations: 123.7 kB / 0.953 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.6086, allocations: 220 kB / 0.9532 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.6088, allocations: 42.11 kB / 0.9532 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.6089, allocations: 85.42 kB / 0.9533 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.609, allocations: 96.73 kB / 0.9534 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.6091, allocations: 4.938 kB / 0.9534 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.6092, allocations: 54.89 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.6093, allocations: 76.88 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.839e-05/0.6094, allocations: 136.5 kB / 0.9536 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.6097, allocations: 349.1 kB / 0.954 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6097, allocations: 1 kB / 0.954 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6097, allocations: 0 / 0.954 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.6097, allocations: 3.938 kB / 0.954 GB, free: 5.426 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.0007694/0.6105, allocations: 0.6683 MB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.6105, allocations: 8.656 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.6106, allocations: 37.53 kB / 0.9547 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.6106, allocations: 43.38 kB / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.611, allocations: 362.8 kB / 0.9551 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.611, allocations: 10.62 kB / 0.9551 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.6111, allocations: 3.875 kB / 0.9551 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.6112, allocations: 83.72 kB / 0.9552 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.6113, allocations: 0 / 0.9552 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.6113, allocations: 1.438 kB / 0.9552 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.6113, allocations: 1.656 kB / 0.9552 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.6114, allocations: 37.38 kB / 0.9552 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.612, allocations: 466.8 kB / 0.9556 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.6122, allocations: 62.02 kB / 0.9557 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.6122, allocations: 33.44 kB / 0.9557 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.6123, allocations: 4 kB / 0.9557 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.6124, allocations: 81.31 kB / 0.9558 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.6124, allocations: 0 / 0.9558 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003245/0.6127, allocations: 135.5 kB / 0.9559 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.6128, allocations: 56.56 kB / 0.956 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005625/0.6134, allocations: 0.5363 MB / 0.9565 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.6134, allocations: 31.48 kB / 0.9566 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.6135, allocations: 220.2 kB / 0.9568 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.6135, allocations: 19.3 kB / 0.9568 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/0.6136, allocations: 41.11 kB / 0.9568 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.6137, allocations: 354.4 kB / 0.9572 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.926e-05/0.6138, allocations: 46.56 kB / 0.9572 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.6139, allocations: 77.27 kB / 0.9573 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.6141, allocations: 93.48 kB / 0.9574 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6141, allocations: 112 / 0.9574 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002829/0.6144, allocations: 197.8 kB / 0.9576 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.6144, allocations: 4.406 kB / 0.9576 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6144, allocations: 1.312 kB / 0.9576 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.6144, allocations: 5.312 kB / 0.9576 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.6145, allocations: 25.05 kB / 0.9576 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6145, allocations: 1.375 kB / 0.9576 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.6147, allocations: 22.83 kB / 0.9576 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.6147, allocations: 4.125 kB / 0.9576 GB, free: 2.41 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.0001378/0.6148, allocations: 180.2 kB / 0.9578 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.6149, allocations: 42.69 kB / 0.9578 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.581e-05/0.615, allocations: 47.05 kB / 0.9579 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.615, allocations: 5.312 kB / 0.9579 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.615, allocations: 0 / 0.9579 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.615, allocations: 1.375 kB / 0.9579 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.6152, allocations: 299.4 kB / 0.9582 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6152, allocations: 1.375 kB / 0.9582 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.6152, allocations: 6.938 kB / 0.9582 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6152, allocations: 1.375 kB / 0.9582 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.6152, allocations: 9.359 kB / 0.9582 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6152, allocations: 3.938 kB / 0.9582 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6152, allocations: 0 / 0.9582 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.6154, allocations: 148.8 kB / 0.9583 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.6155, allocations: 120 kB / 0.9584 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.6156, allocations: 2.938 kB / 0.9584 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.6156, allocations: 10.73 kB / 0.9585 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.6157, allocations: 9.172 kB / 0.9585 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.6157, allocations: 6.625 kB / 0.9585 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003503/0.6161, allocations: 362.5 kB / 0.9588 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6161, allocations: 1.094 kB / 0.9588 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002696/0.6163, allocations: 46.64 kB / 0.9589 GB, free: 1.438 MB / 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.00123/0.6176, allocations: 1.004 MB / 0.9598 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.6178, allocations: 95.08 kB / 0.9599 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6178, allocations: 0.9375 kB / 0.9599 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/0.6179, allocations: 27.48 kB / 0.96 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.6183, allocations: 62.11 kB / 0.96 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.6219, allocations: 3.164 MB / 0.9631 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.6223, allocations: 0.8227 MB / 0.9639 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.751e-05/0.6224, allocations: 21.58 kB / 0.9639 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.6226, allocations: 114 kB / 0.964 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.6226, allocations: 0 / 0.964 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.6402, allocations: 6.87 MB / 0.9708 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.6405, allocations: 272.9 kB / 0.971 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.462, allocations: 0 / 0.971 GB, free: 9.77 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