Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",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.001101/0.001101, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 61.5 kB / 0.9083 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2455, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003358/0.2489, allocations: 2.217 MB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.251, allocations: 1.524 MB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.2513, allocations: 8 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.2515, allocations: 63.19 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.2518, allocations: 87.11 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006597/0.2524, allocations: 297.6 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005584/0.253, allocations: 0.6448 MB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004554/0.2535, allocations: 365.8 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.2537, allocations: 227.3 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.254, allocations: 254.7 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.264e-05/0.2541, allocations: 72 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.2542, allocations: 83.98 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-05/0.2543, allocations: 127.6 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.2545, allocations: 290.5 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.2552, allocations: 0.7673 MB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2552, allocations: 4 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2552, allocations: 3.938 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.2552, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001121/0.2563, allocations: 0.8129 MB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2564, allocations: 8.031 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.117e-05/0.2565, allocations: 98.7 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.885e-05/0.2566, allocations: 56.28 kB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.257, allocations: 359.6 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.257, allocations: 41.69 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.2571, allocations: 60.38 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007915/0.2579, allocations: 0.507 MB / 1.072 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.2579, allocations: 3.938 kB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.258, allocations: 20 kB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.258, allocations: 12 kB / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.2587, allocations: 364.6 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.2605, allocations: 1.457 MB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.2611, allocations: 289.2 kB / 1.074 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/0.2615, allocations: 177.8 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.2615, allocations: 19.91 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/0.2619, allocations: 194.9 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.2619, allocations: 0 / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.000788/0.2627, allocations: 391.8 kB / 1.075 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.2628, allocations: 85.11 kB / 1.075 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.2632, allocations: 413.5 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.2632, allocations: 41.64 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.2634, allocations: 255.9 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.678e-05/0.2634, allocations: 118.3 kB / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.2636, allocations: 82.12 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2637, allocations: 354.7 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.264, allocations: 136.8 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.2643, allocations: 199.2 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.2649, allocations: 344.7 kB / 1.077 GB, free: 392 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2649, allocations: 4 kB / 1.077 GB, free: 388 kB / 0.8262 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008342/0.2657, allocations: 478.9 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.2658, allocations: 37.7 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2658, allocations: 4 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2658, allocations: 4 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.2661, allocations: 83.89 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.2662, allocations: 11.88 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.2665, allocations: 79.52 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.2666, allocations: 20 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0001722/0.2668, allocations: 170.3 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.2668, allocations: 35.53 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000626/0.2675, allocations: 334.3 kB / 1.078 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2675, allocations: 7.938 kB / 1.078 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2675, allocations: 0 / 1.078 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.2675, allocations: 4 kB / 1.078 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.2686, allocations: 0.968 MB / 1.079 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2686, allocations: 0 / 1.079 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.2689, allocations: 59.91 kB / 1.079 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2689, allocations: 0 / 1.079 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.2689, allocations: 11.98 kB / 1.079 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2689, allocations: 4 kB / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.2689, allocations: 4 kB / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/0.2695, allocations: 0.5133 MB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.433e-05/0.2696, allocations: 132.5 kB / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.2697, allocations: 8 kB / 1.08 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.2699, allocations: 11.98 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.27, allocations: 31.84 kB / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.27, allocations: 12 kB / 1.08 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002736/0.2703, allocations: 295.1 kB / 1.08 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2703, allocations: 0 / 1.08 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000434/0.2707, allocations: 107.7 kB / 1.08 GB, free: 12.83 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008606/0.2716, allocations: 1.06 MB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006805/0.2723, allocations: 393.8 kB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2723, allocations: 0 / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.2726, allocations: 151.3 kB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/0.2732, allocations: 70.16 kB / 1.082 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.2777, allocations: 3.79 MB / 1.086 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.2781, allocations: 0.8237 MB / 1.087 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000164/0.2782, allocations: 47.25 kB / 1.087 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.2784, allocations: 159.4 kB / 1.087 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.2784, allocations: 0 / 1.087 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.3018, allocations: 7.116 MB / 1.094 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.248/7.55, allocations: 9.453 kB / 1.094 GB, free: 15.2 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches