Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001313/0.001313, allocations: 106.2 kB / 16.45 MB, free: 6.5 MB / 14.72 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.001443/0.001443, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 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 1.512/1.512, allocations: 230.6 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.31/3.31, allocations: 0.49 GB / 0.7916 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 70.89 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3299, allocations: 176.1 MB / 1.321 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003833/0.3337, allocations: 2.217 MB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.3362, allocations: 1.54 MB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.3364, allocations: 4 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006213/0.3371, allocations: 195 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.3375, allocations: 171.2 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.3378, allocations: 111.6 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.3382, allocations: 239 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.3383, allocations: 32.38 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.3385, allocations: 107.5 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.3387, allocations: 95.55 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.3387, allocations: 12 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.3388, allocations: 63.95 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.339, allocations: 95.55 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.3391, allocations: 138.9 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004961/0.3396, allocations: 366.2 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3396, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3396, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3396, allocations: 3.938 kB / 1.326 GB, free: 13.91 MB / 1.029 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.001048/0.3406, allocations: 0.6971 MB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3407, allocations: 15.92 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.377e-05/0.3407, allocations: 42.73 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.08e-05/0.3408, allocations: 48.59 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.3413, allocations: 364.7 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3413, allocations: 8.125 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3414, allocations: 4 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3416, allocations: 81.59 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3416, allocations: 0 / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3416, allocations: 0 / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3416, allocations: 0 / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3417, allocations: 35.98 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.3425, allocations: 460.5 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.3427, allocations: 62.67 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.665e-05/0.3427, allocations: 24.84 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.3427, allocations: 112 / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.3429, allocations: 87.28 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.654e-06/0.3429, allocations: 3.938 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003666/0.3433, allocations: 145.3 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.3433, allocations: 51.41 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006529/0.344, allocations: 0.5457 MB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.344, allocations: 29.7 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.3442, allocations: 228 kB / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.3442, allocations: 19.89 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.3443, allocations: 37.7 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3445, allocations: 362.8 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3446, allocations: 47.98 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.3447, allocations: 74.55 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.3449, allocations: 89.67 kB / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3449, allocations: 0 / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004078/0.3453, allocations: 199.6 kB / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3454, allocations: 8 kB / 1.33 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.3454, allocations: 0 / 1.33 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3454, allocations: 3.938 kB / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.3455, allocations: 23.98 kB / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3455, allocations: 0 / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.3457, allocations: 24.12 kB / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.3457, allocations: 8.031 kB / 1.33 GB, free: 9.879 MB / 1.029 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.0002225/0.3459, allocations: 192.2 kB / 1.33 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.346, allocations: 43.72 kB / 1.33 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.532e-05/0.3461, allocations: 47.91 kB / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3461, allocations: 3.938 kB / 1.33 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3461, allocations: 0 / 1.33 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.3461, allocations: 7.984 kB / 1.33 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.3464, allocations: 293.5 kB / 1.33 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3464, allocations: 11.92 kB / 1.33 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.3464, allocations: 0 / 1.33 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3464, allocations: 4 kB / 1.33 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.3464, allocations: 0 / 1.33 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.3464, allocations: 7.922 kB / 1.33 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3464, allocations: 0 / 1.33 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.3467, allocations: 152.7 kB / 1.33 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3468, allocations: 124.8 kB / 1.331 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.3468, allocations: 8 kB / 1.331 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.3469, allocations: 7.938 kB / 1.331 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.347, allocations: 11.98 kB / 1.331 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.347, allocations: 7.984 kB / 1.331 GB, free: 8.875 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004329/0.3474, allocations: 362.8 kB / 1.331 GB, free: 8.523 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3474, allocations: 0 / 1.331 GB, free: 8.523 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002896/0.3477, allocations: 43.94 kB / 1.331 GB, free: 8.48 MB / 1.029 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.002213/0.3499, allocations: 1.007 MB / 1.332 GB, free: 7.602 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003421/0.3503, allocations: 83.97 kB / 1.332 GB, free: 7.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3503, allocations: 0 / 1.332 GB, free: 7.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/0.3504, allocations: 27.92 kB / 1.332 GB, free: 7.492 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.3508, allocations: 78.22 kB / 1.332 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.3551, allocations: 3.102 MB / 1.335 GB, free: 4.234 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.3556, allocations: 0.8138 MB / 1.336 GB, free: 3.395 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.3557, allocations: 25.67 kB / 1.336 GB, free: 3.371 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.3559, allocations: 123.4 kB / 1.336 GB, free: 3.254 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.3559, allocations: 0 / 1.336 GB, free: 3.254 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03546/0.3913, allocations: 7.382 MB / 1.343 GB, free: 12.01 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.084/9.475, allocations: 5.312 kB / 1.343 GB, free: 12.01 MB / 1.045 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable per.TWatMax from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! Error: Could not read variable assWatTem.assMes.u in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable assWatTem.assMes.u from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.4010758518707]