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.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.001287/0.001287, allocations: 109.1 kB / 16.46 MB, free: 6.504 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.001393/0.001393, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.432/1.432, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.087/3.087, allocations: 497.2 MB / 0.7811 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.0019/0.0019, allocations: 71.81 kB / 1.134 GB, free: 33.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3065, allocations: 173.9 MB / 1.304 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003738/0.3102, allocations: 2.19 MB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002186/0.3124, allocations: 1.393 MB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.3125, allocations: 3.938 kB / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005702/0.3131, allocations: 183.4 kB / 1.308 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.3134, allocations: 139.3 kB / 1.308 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.3138, allocations: 143.1 kB / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.3141, allocations: 227.1 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.3143, allocations: 24.41 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.3145, allocations: 107.5 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3146, allocations: 99.53 kB / 1.308 GB, free: 13.01 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.3147, allocations: 12 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.3148, allocations: 55.92 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.3149, allocations: 91.66 kB / 1.309 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.3151, allocations: 134.9 kB / 1.309 GB, free: 12.72 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.3155, allocations: 366.2 kB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3155, allocations: 0 / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3155, allocations: 0 / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.3155, allocations: 4 kB / 1.309 GB, free: 12.36 MB / 1.014 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.00104/0.3166, allocations: 0.684 MB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3166, allocations: 16.86 kB / 1.31 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.719e-05/0.3167, allocations: 34.75 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.151e-05/0.3168, allocations: 44.66 kB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.3172, allocations: 360.8 kB / 1.31 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.3172, allocations: 8.125 kB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.3172, allocations: 7.938 kB / 1.31 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.3174, allocations: 77.66 kB / 1.31 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3174, allocations: 0 / 1.31 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3175, allocations: 0 / 1.31 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3175, allocations: 0 / 1.31 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3176, allocations: 35.98 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/0.3183, allocations: 468.5 kB / 1.311 GB, free: 10.49 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.3185, allocations: 62.67 kB / 1.311 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.3185, allocations: 24.84 kB / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3185, allocations: 112 / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.3187, allocations: 91.27 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3187, allocations: 0 / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.00033/0.319, allocations: 149.3 kB / 1.311 GB, free: 10.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.3191, allocations: 51.41 kB / 1.311 GB, free: 10.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006026/0.3197, allocations: 0.5294 MB / 1.312 GB, free: 9.535 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.3197, allocations: 29.69 kB / 1.312 GB, free: 9.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.3199, allocations: 216 kB / 1.312 GB, free: 9.285 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.3199, allocations: 23.89 kB / 1.312 GB, free: 9.262 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.32, allocations: 45.64 kB / 1.312 GB, free: 9.211 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.3202, allocations: 350.8 kB / 1.312 GB, free: 8.859 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3203, allocations: 51.97 kB / 1.312 GB, free: 8.809 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3204, allocations: 83.95 kB / 1.312 GB, free: 8.719 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.3206, allocations: 91.78 kB / 1.312 GB, free: 8.625 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3206, allocations: 0 / 1.312 GB, free: 8.625 MB / 1.014 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003249/0.3209, allocations: 197.3 kB / 1.313 GB, free: 8.426 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3209, allocations: 4 kB / 1.313 GB, free: 8.422 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.3209, allocations: 4 kB / 1.313 GB, free: 8.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3209, allocations: 7.922 kB / 1.313 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3211, allocations: 19.98 kB / 1.313 GB, free: 8.391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3211, allocations: 4 kB / 1.313 GB, free: 8.387 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.3212, allocations: 15.92 kB / 1.313 GB, free: 8.371 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.3212, allocations: 12.03 kB / 1.313 GB, free: 8.359 MB / 1.014 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.0001776/0.3214, allocations: 185.7 kB / 1.313 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.3214, allocations: 47.67 kB / 1.313 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.277e-05/0.3215, allocations: 39.8 kB / 1.313 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3215, allocations: 7.938 kB / 1.313 GB, free: 8.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3215, allocations: 0 / 1.313 GB, free: 8.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3215, allocations: 0 / 1.313 GB, free: 8.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.3218, allocations: 301.5 kB / 1.313 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3218, allocations: 0 / 1.313 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.3218, allocations: 8 kB / 1.313 GB, free: 7.719 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3218, allocations: 0 / 1.313 GB, free: 7.719 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3218, allocations: 0 / 1.313 GB, free: 7.719 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3218, allocations: 3.938 kB / 1.313 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3218, allocations: 0 / 1.313 GB, free: 7.715 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.3221, allocations: 161 kB / 1.313 GB, free: 7.539 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.3222, allocations: 116.8 kB / 1.313 GB, free: 7.406 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.3222, allocations: 8 kB / 1.313 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.3223, allocations: 15.92 kB / 1.314 GB, free: 7.383 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.3223, allocations: 7.984 kB / 1.314 GB, free: 7.375 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3223, allocations: 4 kB / 1.314 GB, free: 7.371 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003918/0.3227, allocations: 362.8 kB / 1.314 GB, free: 7.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3227, allocations: 0 / 1.314 GB, free: 7.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002621/0.323, allocations: 47.94 kB / 1.314 GB, free: 6.973 MB / 1.014 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.001912/0.3249, allocations: 1.001 MB / 1.315 GB, free: 6.113 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.3252, allocations: 87.95 kB / 1.315 GB, free: 6.027 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3252, allocations: 0 / 1.315 GB, free: 6.027 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.3252, allocations: 27.94 kB / 1.315 GB, free: 6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3256, allocations: 68.22 kB / 1.315 GB, free: 5.938 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.3295, allocations: 3.083 MB / 1.318 GB, free: 2.766 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.3299, allocations: 0.8111 MB / 1.319 GB, free: 1.926 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.788e-05/0.33, allocations: 25.53 kB / 1.319 GB, free: 1.902 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.3302, allocations: 115.4 kB / 1.319 GB, free: 1.789 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/0.3302, allocations: 0 / 1.319 GB, free: 1.789 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.3612, allocations: 7.3 MB / 1.326 GB, free: 10.65 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.608/8.969, allocations: 7.844 kB / 1.326 GB, free: 10.64 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.408675441052765]