Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_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.005233/0.005233, allocations: 102.1 kB / 15.73 MB, free: 6.441 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.001305/0.001305, allocations: 195.9 kB / 16.67 MB, free: 6.352 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.767/2.767, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2784, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003353/0.2818, allocations: 2.219 MB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.2839, allocations: 1.525 MB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.284, allocations: 8 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.2842, allocations: 63.19 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.2844, allocations: 95.08 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006692/0.2851, allocations: 295.3 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006664/0.2858, allocations: 0.641 MB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005374/0.2863, allocations: 369.7 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.2866, allocations: 235.2 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.2869, allocations: 254.8 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.481e-05/0.287, allocations: 72 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.2871, allocations: 83.98 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.2873, allocations: 135.5 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.2875, allocations: 282.7 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008003/0.2883, allocations: 0.8055 MB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2883, allocations: 0 / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2883, allocations: 0 / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.2884, allocations: 0 / 1.173 GB, free: 204 kB / 0.92 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.001271/0.2896, allocations: 0.8317 MB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2897, allocations: 12.03 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.2898, allocations: 94.7 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.2899, allocations: 64.56 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.2904, allocations: 355.8 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.2904, allocations: 45.69 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.2905, allocations: 52.38 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009035/0.2914, allocations: 0.5108 MB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.2915, allocations: 3.938 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.2915, allocations: 20 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.2915, allocations: 16 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/0.2922, allocations: 356.7 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.2944, allocations: 1.454 MB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.295, allocations: 291.3 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/0.2954, allocations: 177.6 kB / 1.177 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.2955, allocations: 12 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004174/0.2959, allocations: 198.9 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 1.684e-06/0.2959, allocations: 0 / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.0008672/0.2968, allocations: 395.1 kB / 1.178 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.2969, allocations: 89.05 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.2973, allocations: 413.6 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.2974, allocations: 33.7 kB / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.2976, allocations: 272.4 kB / 1.179 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.763e-05/0.2977, allocations: 115 kB / 1.179 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.2979, allocations: 86.11 kB / 1.179 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.298, allocations: 350.7 kB / 1.179 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.2984, allocations: 136.8 kB / 1.179 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.2987, allocations: 199.2 kB / 1.179 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.2994, allocations: 347.9 kB / 1.18 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2994, allocations: 0 / 1.18 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008943/0.3003, allocations: 467.9 kB / 1.18 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.3003, allocations: 45.62 kB / 1.18 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3003, allocations: 0 / 1.18 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3004, allocations: 4 kB / 1.18 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.3007, allocations: 79.91 kB / 1.18 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.3007, allocations: 11.92 kB / 1.18 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.3011, allocations: 83.67 kB / 1.18 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.3011, allocations: 19.98 kB / 1.18 GB, free: 8.316 MB / 0.9356 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.0002028/0.3014, allocations: 169.7 kB / 1.181 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.3014, allocations: 43.72 kB / 1.181 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006816/0.3021, allocations: 326.8 kB / 1.181 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.3021, allocations: 7.938 kB / 1.181 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3021, allocations: 3.938 kB / 1.181 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.3022, allocations: 3.984 kB / 1.181 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.3035, allocations: 0.9669 MB / 1.182 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3035, allocations: 4 kB / 1.182 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.3037, allocations: 59.91 kB / 1.182 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.3037, allocations: 7.938 kB / 1.182 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.3038, allocations: 8 kB / 1.182 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.3038, allocations: 7.938 kB / 1.182 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3038, allocations: 0 / 1.182 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006942/0.3045, allocations: 0.5165 MB / 1.182 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.3046, allocations: 132.8 kB / 1.183 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.3047, allocations: 8 kB / 1.183 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.3049, allocations: 15.98 kB / 1.183 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.305, allocations: 27.91 kB / 1.183 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.305, allocations: 8 kB / 1.183 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003269/0.3053, allocations: 287.2 kB / 1.183 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3053, allocations: 4 kB / 1.183 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000455/0.3058, allocations: 107.8 kB / 1.183 GB, free: 5.484 MB / 0.9356 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.001063/0.3069, allocations: 1.066 MB / 1.184 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007377/0.3076, allocations: 382.4 kB / 1.184 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3076, allocations: 0 / 1.184 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.3079, allocations: 139.8 kB / 1.185 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.3085, allocations: 78.03 kB / 1.185 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005356/0.3139, allocations: 3.785 MB / 1.188 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.3144, allocations: 0.8237 MB / 1.189 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001628/0.3146, allocations: 47.25 kB / 1.189 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.3148, allocations: 159.4 kB / 1.189 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.3148, allocations: 3.938 kB / 1.189 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.345, allocations: 7.209 MB / 1.196 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.571/8.916, allocations: 15.06 kB / 1.196 GB, free: 7.75 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches