Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 111.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.533/2.533, allocations: 476.7 MB / 0.7628 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 71.89 kB / 1.107 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.769/0.7709, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002946/0.7739, allocations: 2.214 MB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.7754, allocations: 1.4 MB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.004e-05/0.7755, allocations: 5.719 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.776, allocations: 188.7 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.7762, allocations: 131.1 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.7765, allocations: 145.3 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.7767, allocations: 231.9 kB / 1.276 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.7768, allocations: 26.67 kB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.777, allocations: 107.2 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.7771, allocations: 97.52 kB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.7771, allocations: 19.09 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.7772, allocations: 52.7 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/0.7773, allocations: 96.56 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.395e-05/0.7774, allocations: 129 kB / 1.276 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.7778, allocations: 360.2 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7778, allocations: 5.125 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7778, allocations: 0 / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.7778, allocations: 0 / 1.276 GB, free: 4.445 MB / 0.9981 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.0006938/0.7785, allocations: 0.692 MB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.7785, allocations: 9.5 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.7785, allocations: 38.06 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.7786, allocations: 45.09 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.7789, allocations: 364.9 kB / 1.278 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.7789, allocations: 6.656 kB / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.7789, allocations: 10.84 kB / 1.278 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.7791, allocations: 75.11 kB / 1.278 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.7791, allocations: 0 / 1.278 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.7791, allocations: 9 kB / 1.278 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.7791, allocations: 1.469 kB / 1.278 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.976e-05/0.7792, allocations: 31.95 kB / 1.278 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.7797, allocations: 461.8 kB / 1.278 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.7799, allocations: 62.23 kB / 1.278 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.7799, allocations: 20.66 kB / 1.278 GB, free: 3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.7799, allocations: 5.031 kB / 1.278 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.7801, allocations: 80.97 kB / 1.278 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.7801, allocations: 0 / 1.278 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0003018/0.7804, allocations: 142.5 kB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.7804, allocations: 57.7 kB / 1.278 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.7809, allocations: 0.5278 MB / 1.279 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.7809, allocations: 32.55 kB / 1.279 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.781, allocations: 226.1 kB / 1.279 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.781, allocations: 17.59 kB / 1.279 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.7811, allocations: 44.78 kB / 1.279 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.171e-05/0.7811, allocations: 358.5 kB / 1.28 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-05/0.7812, allocations: 50.34 kB / 1.28 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.7813, allocations: 75.11 kB / 1.28 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.7815, allocations: 85.12 kB / 1.28 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7815, allocations: 4.031 kB / 1.28 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002676/0.7817, allocations: 201.6 kB / 1.28 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.7817, allocations: 5.5 kB / 1.28 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.7817, allocations: 0.75 kB / 1.28 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.7818, allocations: 13.36 kB / 1.28 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.7819, allocations: 29.92 kB / 1.28 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.7819, allocations: 5.5 kB / 1.28 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.782, allocations: 9.469 kB / 1.28 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.782, allocations: 4.547 kB / 1.28 GB, free: 1.734 MB / 0.9981 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.0001296/0.7821, allocations: 184.9 kB / 1.28 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.7822, allocations: 42.88 kB / 1.28 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.7824, allocations: 135.9 kB / 1.28 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.7824, allocations: 5.438 kB / 1.28 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.7824, allocations: 0.9062 kB / 1.28 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/0.7824, allocations: 0.9688 kB / 1.28 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.7826, allocations: 303.9 kB / 1.281 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7826, allocations: 4 kB / 1.281 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.7827, allocations: 9.188 kB / 1.281 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7827, allocations: 0 / 1.281 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.7827, allocations: 2.984 kB / 1.281 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7827, allocations: 3.938 kB / 1.281 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7827, allocations: 0.6562 kB / 1.281 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.7829, allocations: 145.9 kB / 1.281 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.7829, allocations: 118.7 kB / 1.281 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.7829, allocations: 1.766 kB / 1.281 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.783, allocations: 17.52 kB / 1.281 GB, free: 1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.7831, allocations: 12.92 kB / 1.281 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.7831, allocations: 4.234 kB / 1.281 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003456/0.7834, allocations: 364.2 kB / 1.281 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7834, allocations: 0 / 1.281 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002385/0.7837, allocations: 45.33 kB / 1.281 GB, free: 0.832 MB / 0.9981 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * 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.001545/0.7852, allocations: 1.007 MB / 1.282 GB, free: 88 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.7854, allocations: 87.44 kB / 1.283 GB, free: 64 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.7854, allocations: 0 / 1.283 GB, free: 64 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.7855, allocations: 27.55 kB / 1.283 GB, free: 52 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.7858, allocations: 62.33 kB / 1.283 GB, free: 28 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.7891, allocations: 3.07 MB / 1.286 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.7895, allocations: 0.8097 MB / 1.286 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.227e-05/0.7896, allocations: 27.41 kB / 1.286 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.7897, allocations: 118.5 kB / 1.287 GB, free: 13.42 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/0.7897, allocations: 0 / 1.287 GB, free: 13.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.8206, allocations: 7.273 MB / 1.294 GB, free: 12.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/8.489, allocations: 19.98 kB / 1.294 GB, free: 12.08 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv --start-time 0 --stop-time 900 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable per.TWatMax in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable per.TWatMax from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! Error: Could not read variable assWatTem.assMes.u in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable assWatTem.assMes.u from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.928208311001072]