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 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.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.008188/0.008188, allocations: 100.8 kB / 15.73 MB, free: 6.445 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.00224/0.00224, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 482.4 MB / 0.7548 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 64.12 kB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2916, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003502/0.2951, allocations: 2.214 MB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.2972, allocations: 1.52 MB / 1.245 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.2974, allocations: 8 kB / 1.245 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.2975, allocations: 59.2 kB / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.2978, allocations: 91.08 kB / 1.245 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006459/0.2984, allocations: 299.2 kB / 1.246 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006797/0.2991, allocations: 0.6565 MB / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004979/0.2996, allocations: 357.8 kB / 1.246 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.2999, allocations: 239.1 kB / 1.247 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.3002, allocations: 258.8 kB / 1.247 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.33e-05/0.3003, allocations: 72 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.3004, allocations: 80 kB / 1.247 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3005, allocations: 127.5 kB / 1.247 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.3008, allocations: 290.6 kB / 1.248 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007897/0.3016, allocations: 0.7975 MB / 1.248 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3016, allocations: 3.938 kB / 1.248 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3016, allocations: 4 kB / 1.248 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3016, allocations: 0 / 1.248 GB, free: 3.156 MB / 0.9981 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.001224/0.3028, allocations: 0.8278 MB / 1.249 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3029, allocations: 12.03 kB / 1.249 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.303, allocations: 94.7 kB / 1.249 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3031, allocations: 68.55 kB / 1.249 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.3036, allocations: 351.9 kB / 1.25 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.3036, allocations: 45.69 kB / 1.25 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.311e-05/0.3037, allocations: 52.38 kB / 1.25 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008786/0.3046, allocations: 0.5069 MB / 1.25 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3046, allocations: 3.938 kB / 1.25 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.84e-05/0.3046, allocations: 24 kB / 1.25 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.3047, allocations: 16 kB / 1.25 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007222/0.3054, allocations: 360.7 kB / 1.251 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.522/0.8274, allocations: 1.442 MB / 1.252 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.828, allocations: 280.8 kB / 1.252 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.8284, allocations: 185.5 kB / 1.252 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.8284, allocations: 9.016 kB / 1.252 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004038/0.8289, allocations: 198.3 kB / 1.253 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.903e-06/0.8289, allocations: 1.406 kB / 1.253 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0008187/0.8297, allocations: 394.5 kB / 1.253 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.8297, allocations: 91.73 kB / 1.253 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.8301, allocations: 407.8 kB / 1.253 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.8302, allocations: 32.64 kB / 1.254 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.8303, allocations: 272.1 kB / 1.254 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.8304, allocations: 115.8 kB / 1.254 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.8305, allocations: 85.28 kB / 1.254 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.246e-05/0.8306, allocations: 351.5 kB / 1.254 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.8309, allocations: 131.9 kB / 1.254 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.8312, allocations: 209.1 kB / 1.255 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.8318, allocations: 348.1 kB / 1.255 GB, free: 10 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.8318, allocations: 5.047 kB / 1.255 GB, free: 10 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008112/0.8326, allocations: 475.8 kB / 1.255 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.8326, allocations: 40.14 kB / 1.255 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.8327, allocations: 1.688 kB / 1.255 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.8327, allocations: 4.312 kB / 1.255 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.833, allocations: 85.08 kB / 1.256 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.833, allocations: 3.719 kB / 1.256 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.8334, allocations: 78.44 kB / 1.256 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.8334, allocations: 15.16 kB / 1.256 GB, free: 9.855 MB / 0.9981 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.0001446/0.8336, allocations: 168.6 kB / 1.256 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.8336, allocations: 53.55 kB / 1.256 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006225/0.8343, allocations: 327.6 kB / 1.256 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.8343, allocations: 7.406 kB / 1.256 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.8343, allocations: 3.375 kB / 1.256 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.8343, allocations: 2.578 kB / 1.256 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.8354, allocations: 0.9673 MB / 1.257 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.8354, allocations: 2.125 kB / 1.257 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.8356, allocations: 58.92 kB / 1.257 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.8356, allocations: 6.281 kB / 1.257 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.8357, allocations: 7.969 kB / 1.257 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.8357, allocations: 5.234 kB / 1.257 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.8357, allocations: 15.73 kB / 1.257 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.8362, allocations: 0.5109 MB / 1.258 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.8363, allocations: 130.3 kB / 1.258 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.8364, allocations: 8.391 kB / 1.258 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.8366, allocations: 12.45 kB / 1.258 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.8367, allocations: 27.42 kB / 1.258 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.8367, allocations: 10.11 kB / 1.258 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002786/0.837, allocations: 290.8 kB / 1.258 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.837, allocations: 4 kB / 1.258 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004472/0.8374, allocations: 109.2 kB / 1.258 GB, free: 8.477 MB / 0.9981 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.0007315/0.8382, allocations: 1.078 MB / 1.259 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006804/0.8389, allocations: 386.4 kB / 1.26 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8389, allocations: 0.7812 kB / 1.26 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.8391, allocations: 141.3 kB / 1.26 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.8397, allocations: 65.66 kB / 1.26 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/0.8441, allocations: 3.775 MB / 1.264 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.8443, allocations: 0.8257 MB / 1.264 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001461/0.8445, allocations: 42 kB / 1.264 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.8446, allocations: 156.5 kB / 1.265 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.8446, allocations: 7.516 kB / 1.265 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.8727, allocations: 7.223 MB / 1.272 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/9.282, allocations: 10.75 kB / 1.272 GB, free: 3.438 MB / 0.9981 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 400 --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