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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.004517/0.004517, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001119/0.001119, allocations: 190 kB / 16.67 MB, free: 5.48 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.366/1.366, 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 11.1.0-master/package.mo): time 2.638/2.638, allocations: 469.4 MB / 0.7421 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6935/0.6948, allocations: 159.1 MB / 1.22 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003426/0.6982, allocations: 2.213 MB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.7004, allocations: 1.528 MB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.7008, allocations: 8 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.701, allocations: 63.19 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.7014, allocations: 91.11 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007241/0.7021, allocations: 303.3 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006752/0.7028, allocations: 0.6449 MB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005018/0.7033, allocations: 357.8 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.7036, allocations: 235.2 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.7039, allocations: 258.7 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.725e-05/0.704, allocations: 72 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.7041, allocations: 87.98 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.541e-05/0.7042, allocations: 123.6 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.7045, allocations: 290.5 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007274/0.7052, allocations: 0.7972 MB / 1.227 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7052, allocations: 0 / 1.227 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.775e-06/0.7052, allocations: 0 / 1.227 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.7052, allocations: 3.938 kB / 1.227 GB, free: 11.19 MB / 0.9512 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.001232/0.7065, allocations: 0.8317 MB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.7065, allocations: 12.62 kB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.283e-05/0.7066, allocations: 94.69 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.7067, allocations: 64.56 kB / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.7071, allocations: 363.8 kB / 1.228 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.7072, allocations: 45.69 kB / 1.228 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/0.7073, allocations: 52.38 kB / 1.228 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007966/0.7081, allocations: 0.5031 MB / 1.228 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.7081, allocations: 3.938 kB / 1.229 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.7081, allocations: 24 kB / 1.229 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.7082, allocations: 19.98 kB / 1.229 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006527/0.7088, allocations: 356.7 kB / 1.229 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.7106, allocations: 1.442 MB / 1.23 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.7112, allocations: 299.9 kB / 1.231 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.7116, allocations: 185.5 kB / 1.231 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.7116, allocations: 7.938 kB / 1.231 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003883/0.712, allocations: 198.9 kB / 1.231 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.7121, allocations: 0 / 1.231 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34): time 0.0007877/0.7128, allocations: 394.8 kB / 1.231 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.7129, allocations: 81.11 kB / 1.231 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.7133, allocations: 417.6 kB / 1.232 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.7133, allocations: 33.7 kB / 1.232 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.7135, allocations: 268.4 kB / 1.232 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-05/0.7136, allocations: 119 kB / 1.232 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.7138, allocations: 86.08 kB / 1.232 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.7139, allocations: 354.7 kB / 1.233 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.7142, allocations: 132.8 kB / 1.233 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.7145, allocations: 207.1 kB / 1.233 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.7151, allocations: 337.5 kB / 1.233 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7151, allocations: 0 / 1.233 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008104/0.7159, allocations: 476.1 kB / 1.234 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.7159, allocations: 41.69 kB / 1.234 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7159, allocations: 0 / 1.234 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.716, allocations: 7.938 kB / 1.234 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.7163, allocations: 83.84 kB / 1.234 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.7163, allocations: 3.938 kB / 1.234 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.7167, allocations: 83.56 kB / 1.234 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.7167, allocations: 20 kB / 1.234 GB, free: 3.297 MB / 0.9512 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.0001719/0.7169, allocations: 169.8 kB / 1.234 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.7169, allocations: 47.72 kB / 1.234 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/0.7176, allocations: 327.1 kB / 1.234 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.7176, allocations: 7.938 kB / 1.234 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7176, allocations: 4 kB / 1.234 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.7176, allocations: 0 / 1.234 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.7187, allocations: 0.9694 MB / 1.235 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.7187, allocations: 4 kB / 1.235 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.719, allocations: 63.83 kB / 1.235 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.719, allocations: 4 kB / 1.236 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.719, allocations: 8 kB / 1.236 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.719, allocations: 4 kB / 1.236 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.719, allocations: 3.938 kB / 1.236 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006011/0.7196, allocations: 0.5134 MB / 1.236 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/0.7197, allocations: 128.8 kB / 1.236 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.7198, allocations: 12 kB / 1.236 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.72, allocations: 23.92 kB / 1.236 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.7201, allocations: 27.91 kB / 1.236 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.7201, allocations: 8 kB / 1.236 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000279/0.7204, allocations: 291.2 kB / 1.236 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7204, allocations: 0 / 1.236 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004307/0.7209, allocations: 103.8 kB / 1.237 GB, free: 468 kB / 0.9512 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.0009288/0.7218, allocations: 1.072 MB / 1.238 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006656/0.7225, allocations: 379.1 kB / 1.238 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7225, allocations: 384 / 1.238 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.7228, allocations: 139.8 kB / 1.238 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.7233, allocations: 57.47 kB / 1.238 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/0.7279, allocations: 3.799 MB / 1.242 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.7282, allocations: 0.8237 MB / 1.243 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.7284, allocations: 47.2 kB / 1.243 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.7286, allocations: 167.3 kB / 1.243 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.7286, allocations: 3.938 kB / 1.243 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.7511, allocations: 7.199 MB / 1.25 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.633, allocations: 12.8 kB / 1.25 GB, free: 2.766 MB / 0.9669 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