Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000867/0.000867, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008796/0.0008796, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8801/0.8801, allocations: 177.1 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.734/1.734, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.227e-05, allocations: 5.516 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002781/0.002803, allocations: 2.151 MB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.00436, allocations: 1.432 MB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.004472, allocations: 7.938 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.004943, allocations: 191.4 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.005293, allocations: 175.1 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.005498, allocations: 115.5 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.005721, allocations: 250.9 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.005831, allocations: 28.58 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.005951, allocations: 131.6 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.006056, allocations: 83.72 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.006077, allocations: 16 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.329e-05/0.00617, allocations: 51.97 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.904e-05/0.006259, allocations: 95.62 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.006317, allocations: 71.66 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.006599, allocations: 358.6 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.006601, allocations: 0 / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.192e-06/0.006602, allocations: 4 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.006607, allocations: 0 / 1.005 GB, free: 8.328 MB / 0.9636 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.0006207/0.007227, allocations: 0.6126 MB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.007261, allocations: 8.75 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.007291, allocations: 42.73 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.007341, allocations: 44.66 kB / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.007616, allocations: 306 kB / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.007627, allocations: 4.375 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.007639, allocations: 4.375 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.007774, allocations: 107.5 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.00778, allocations: 0 / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.00779, allocations: 7.984 kB / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.007794, allocations: 0 / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.222e-05/0.007856, allocations: 39.98 kB / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.008301, allocations: 411.7 kB / 1.006 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.008422, allocations: 66.67 kB / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.008459, allocations: 28.84 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.008472, allocations: 0 / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.008593, allocations: 109 kB / 1.006 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.008594, allocations: 0 / 1.006 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002212/0.008815, allocations: 149.3 kB / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.008845, allocations: 59.41 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.009225, allocations: 0.5457 MB / 1.007 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.009238, allocations: 25.7 kB / 1.007 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.009356, allocations: 224.1 kB / 1.007 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.009374, allocations: 23.83 kB / 1.007 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.009424, allocations: 45.59 kB / 1.007 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.009529, allocations: 358.8 kB / 1.008 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-05/0.009594, allocations: 47.98 kB / 1.008 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-05/0.00968, allocations: 108.2 kB / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.009781, allocations: 93.72 kB / 1.008 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.009782, allocations: 0 / 1.008 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001873/0.00997, allocations: 203.2 kB / 1.008 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.009982, allocations: 10.03 kB / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.009986, allocations: 0 / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.009996, allocations: 0 / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.01007, allocations: 23.98 kB / 1.008 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.01007, allocations: 0 / 1.008 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.24e-05/0.01014, allocations: 23.88 kB / 1.008 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.01015, allocations: 8.031 kB / 1.008 GB, free: 4.406 MB / 0.9636 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.000116/0.01027, allocations: 185.7 kB / 1.008 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.01029, allocations: 43.72 kB / 1.009 GB, free: 4.172 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.01045, allocations: 141.6 kB / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01046, allocations: 0 / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01046, allocations: 0 / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01046, allocations: 3.938 kB / 1.009 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.01063, allocations: 264.6 kB / 1.009 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01063, allocations: 0 / 1.009 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.01065, allocations: 12.17 kB / 1.009 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01065, allocations: 4 kB / 1.009 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01066, allocations: 12 kB / 1.009 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01066, allocations: 0 / 1.009 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01066, allocations: 0 / 1.009 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.01078, allocations: 156.7 kB / 1.009 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.01082, allocations: 43.7 kB / 1.009 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.01084, allocations: 4 kB / 1.009 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.862e-05/0.01088, allocations: 11.98 kB / 1.009 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.01092, allocations: 7.984 kB / 1.009 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.557e-06/0.01093, allocations: 7.938 kB / 1.009 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002531/0.01118, allocations: 378.8 kB / 1.01 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01118, allocations: 0 / 1.01 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001763/0.01135, allocations: 47.88 kB / 1.01 GB, free: 3.031 MB / 0.9636 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 (7): * Single equations (assignments): 5 * 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.0009526/0.01231, allocations: 1.035 MB / 1.011 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001592/0.01247, allocations: 94.58 kB / 1.011 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01247, allocations: 0 / 1.011 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.28e-05/0.01251, allocations: 31.97 kB / 1.011 GB, free: 2.031 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.01273, allocations: 68.08 kB / 1.011 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.01497, allocations: 3.099 MB / 1.014 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.0151, allocations: 208.4 kB / 1.014 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.234e-05/0.01516, allocations: 45.69 kB / 1.014 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.01526, allocations: 116.5 kB / 1.014 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of SimCode: time 5.11e-07/0.01527, allocations: 7.938 kB / 1.014 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.03402, allocations: 8.271 MB / 1.022 GB, free: 6.211 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/7.146, allocations: 9.906 kB / 1.022 GB, free: 6.207 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv --start-time 0 --stop-time 900 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable per.TWatMax from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! Error: Could not read variable assWatTem.assMes.u in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable assWatTem.assMes.u from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.226503254845738]