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) 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 12.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004217/0.004217, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001248/0.001248, allocations: 194 kB / 16.67 MB, free: 5.969 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 482.4 MB / 0.7548 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 60.98 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2732, allocations: 162.2 MB / 1.241 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003748/0.277, allocations: 2.167 MB / 1.244 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.2793, allocations: 1.389 MB / 1.245 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.2795, allocations: 3.938 kB / 1.245 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.2801, allocations: 187.7 kB / 1.245 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.2804, allocations: 127.4 kB / 1.245 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.2808, allocations: 142.6 kB / 1.245 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.2811, allocations: 231.1 kB / 1.246 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.2813, allocations: 48.31 kB / 1.246 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.2815, allocations: 103.5 kB / 1.246 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.2816, allocations: 91.55 kB / 1.246 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.2817, allocations: 16 kB / 1.246 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.2818, allocations: 51.92 kB / 1.246 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.2819, allocations: 95.66 kB / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.2821, allocations: 130.9 kB / 1.246 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.2825, allocations: 358.2 kB / 1.246 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2825, allocations: 3.938 kB / 1.246 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2825, allocations: 4 kB / 1.246 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.2826, allocations: 0 / 1.246 GB, free: 4.137 MB / 0.9669 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.0009739/0.2835, allocations: 0.6879 MB / 1.247 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2836, allocations: 16.03 kB / 1.247 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.2836, allocations: 34.75 kB / 1.247 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.598e-05/0.2837, allocations: 44.66 kB / 1.247 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.2842, allocations: 360.7 kB / 1.248 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.2842, allocations: 8.062 kB / 1.248 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.2842, allocations: 11.94 kB / 1.248 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.2844, allocations: 81.53 kB / 1.248 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2844, allocations: 0 / 1.248 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2844, allocations: 4 kB / 1.248 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2844, allocations: 8 kB / 1.248 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.2846, allocations: 27.98 kB / 1.248 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006705/0.2852, allocations: 460.5 kB / 1.248 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.2854, allocations: 66.67 kB / 1.248 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.17e-05/0.2855, allocations: 32.84 kB / 1.248 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.2856, allocations: 0 / 1.248 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.2857, allocations: 71.33 kB / 1.248 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.2857, allocations: 4 kB / 1.248 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0003432/0.2861, allocations: 149.3 kB / 1.248 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.2861, allocations: 51.41 kB / 1.249 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006224/0.2868, allocations: 0.541 MB / 1.249 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.2868, allocations: 25.7 kB / 1.249 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.287, allocations: 220 kB / 1.249 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.287, allocations: 15.91 kB / 1.249 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.2871, allocations: 37.7 kB / 1.249 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2873, allocations: 358.8 kB / 1.25 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.2874, allocations: 51.97 kB / 1.25 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.2875, allocations: 78.61 kB / 1.25 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.2877, allocations: 95.67 kB / 1.25 GB, free: 404 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2877, allocations: 0 / 1.25 GB, free: 404 kB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003285/0.2881, allocations: 193.3 kB / 1.25 GB, free: 204 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2881, allocations: 5.719 kB / 1.25 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2881, allocations: 0 / 1.25 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2881, allocations: 7.938 kB / 1.25 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2882, allocations: 24.05 kB / 1.25 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2882, allocations: 4 kB / 1.25 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.2884, allocations: 15.89 kB / 1.25 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.2884, allocations: 11.97 kB / 1.25 GB, free: 136 kB / 0.9669 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.000204/0.2886, allocations: 182.6 kB / 1.25 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.2887, allocations: 43.72 kB / 1.25 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.443e-05/0.2887, allocations: 43.8 kB / 1.25 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.2887, allocations: 7.938 kB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2888, allocations: 8 kB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2888, allocations: 0 / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.289, allocations: 297.5 kB / 1.251 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2891, allocations: 0 / 1.251 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.2891, allocations: 0 / 1.251 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2891, allocations: 7.938 kB / 1.251 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.2891, allocations: 0 / 1.251 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2891, allocations: 3.938 kB / 1.251 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2891, allocations: 0 / 1.251 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.2894, allocations: 160.7 kB / 1.251 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.526e-05/0.2895, allocations: 116.8 kB / 1.251 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.2895, allocations: 8 kB / 1.251 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.2896, allocations: 11.92 kB / 1.251 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.2897, allocations: 7.984 kB / 1.251 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.2897, allocations: 0 / 1.251 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000407/0.2901, allocations: 366.8 kB / 1.251 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2901, allocations: 0 / 1.251 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002619/0.2904, allocations: 39.94 kB / 1.251 GB, free: 14.75 MB / 0.9825 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.001989/0.2924, allocations: 1.009 MB / 1.252 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.2926, allocations: 91.91 kB / 1.252 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2926, allocations: 64 / 1.252 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.564e-05/0.2927, allocations: 35.92 kB / 1.252 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.2931, allocations: 65.09 kB / 1.253 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.2968, allocations: 3.065 MB / 1.256 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.2972, allocations: 0.8111 MB / 1.256 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.167e-05/0.2973, allocations: 37.64 kB / 1.256 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.2975, allocations: 115.4 kB / 1.256 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.2975, allocations: 0 / 1.256 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.3264, allocations: 7.261 MB / 1.264 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.522, allocations: 2.625 kB / 1.264 GB, free: 2.48 MB / 0.9825 GB (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 400 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches