Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_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.005375/0.005375, allocations: 102.5 kB / 15.73 MB, free: 6.008 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.001184/0.001184, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.89 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6816/0.6829, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002678/0.6856, allocations: 2.23 MB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.6875, allocations: 1.517 MB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.6877, allocations: 8.219 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.6878, allocations: 56.39 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.688, allocations: 98.78 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006282/0.6887, allocations: 296.3 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005746/0.6893, allocations: 0.6532 MB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004553/0.6897, allocations: 353.2 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.6899, allocations: 236.9 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.6902, allocations: 251.9 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.353e-05/0.6903, allocations: 70.41 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.6904, allocations: 84.95 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.6905, allocations: 135.2 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.6907, allocations: 282.8 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007155/0.6914, allocations: 0.8021 MB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6915, allocations: 0 / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6915, allocations: 0 / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.6915, allocations: 0.875 kB / 1.094 GB, free: 0.8281 MB / 0.8575 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.001098/0.6926, allocations: 0.8133 MB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.6926, allocations: 10.25 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.495e-05/0.6927, allocations: 93.58 kB / 1.095 GB, free: 116 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.6928, allocations: 58.75 kB / 1.095 GB, free: 88 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.6933, allocations: 362.3 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/0.6933, allocations: 49.91 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/0.6934, allocations: 55.06 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008965/0.6943, allocations: 0.5018 MB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.6943, allocations: 3.938 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.6944, allocations: 25.86 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.6944, allocations: 17.5 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007456/0.6952, allocations: 361.1 kB / 1.097 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.6973, allocations: 1.449 MB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/0.6979, allocations: 278.7 kB / 1.098 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004326/0.6983, allocations: 182.9 kB / 1.098 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.6984, allocations: 5.578 kB / 1.098 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004177/0.6988, allocations: 199.8 kB / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.6988, allocations: 0 / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.0008563/0.6997, allocations: 396.2 kB / 1.099 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.6997, allocations: 82.2 kB / 1.099 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.7002, allocations: 414.9 kB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.7003, allocations: 32.92 kB / 1.1 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.7005, allocations: 263.5 kB / 1.1 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.378e-05/0.7005, allocations: 112.4 kB / 1.1 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.7007, allocations: 81.95 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.7008, allocations: 356.7 kB / 1.1 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.7012, allocations: 135 kB / 1.1 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.7015, allocations: 197.3 kB / 1.101 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/0.7021, allocations: 342 kB / 1.101 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.7022, allocations: 4 kB / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008986/0.7031, allocations: 476.6 kB / 1.101 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.7031, allocations: 39.8 kB / 1.101 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.7031, allocations: 2.469 kB / 1.101 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.7031, allocations: 8 kB / 1.101 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.7035, allocations: 80.33 kB / 1.102 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.7035, allocations: 11.34 kB / 1.102 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.7039, allocations: 75.36 kB / 1.102 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.704, allocations: 19.33 kB / 1.102 GB, free: 12.28 MB / 0.8731 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.0001918/0.7042, allocations: 175.6 kB / 1.102 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.7043, allocations: 37.31 kB / 1.102 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006809/0.7049, allocations: 333.7 kB / 1.102 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.705, allocations: 7.719 kB / 1.102 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.705, allocations: 0.7188 kB / 1.102 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.705, allocations: 5.891 kB / 1.102 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.7063, allocations: 0.9706 MB / 1.103 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.7063, allocations: 1.312 kB / 1.103 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.7066, allocations: 62.84 kB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.7066, allocations: 2.875 kB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.7066, allocations: 8.828 kB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.7066, allocations: 4.219 kB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.7066, allocations: 6.812 kB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006185/0.7073, allocations: 0.5198 MB / 1.104 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.7074, allocations: 135 kB / 1.104 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.7074, allocations: 9.156 kB / 1.104 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.7077, allocations: 12.42 kB / 1.104 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.7077, allocations: 31.77 kB / 1.104 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.7078, allocations: 13.91 kB / 1.104 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003128/0.7081, allocations: 286.2 kB / 1.104 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7081, allocations: 0 / 1.104 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000465/0.7086, allocations: 108.3 kB / 1.104 GB, free: 10.55 MB / 0.8731 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.0008924/0.7095, allocations: 1.06 MB / 1.105 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00069/0.7102, allocations: 386.3 kB / 1.106 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7102, allocations: 1.438 kB / 1.106 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.7105, allocations: 138.8 kB / 1.106 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.7111, allocations: 73.62 kB / 1.106 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.7161, allocations: 3.762 MB / 1.11 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.7165, allocations: 0.8252 MB / 1.11 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001736/0.7166, allocations: 43.44 kB / 1.11 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.7169, allocations: 155.8 kB / 1.111 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.7169, allocations: 1.219 kB / 1.111 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.7414, allocations: 7.202 MB / 1.118 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.572, allocations: 9.359 kB / 1.118 GB, free: 5.406 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches