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.00119/0.00119, 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.001254/0.001254, allocations: 194.9 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.162/2.162, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.91 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6178/0.6191, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002799/0.6219, allocations: 2.221 MB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.6235, allocations: 1.525 MB / 0.9534 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.6237, allocations: 7.5 kB / 0.9534 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.6238, allocations: 59.2 kB / 0.9534 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.624, allocations: 88.16 kB / 0.9535 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.6246, allocations: 301.8 kB / 0.9538 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000439/0.625, allocations: 0.6471 MB / 0.9544 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003656/0.6254, allocations: 359.5 kB / 0.9548 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.6255, allocations: 228.7 kB / 0.955 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.6257, allocations: 262.6 kB / 0.9553 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.315e-05/0.6258, allocations: 69.81 kB / 0.9553 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.6259, allocations: 82.58 kB / 0.9554 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.626, allocations: 122.2 kB / 0.9555 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.6262, allocations: 296.3 kB / 0.9558 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.6266, allocations: 0.7606 MB / 0.9565 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.6266, allocations: 5.156 kB / 0.9565 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.11e-07/0.6267, allocations: 0 / 0.9565 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.6267, allocations: 0 / 0.9565 GB, free: 3.836 MB / 0.7169 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.0008299/0.6275, allocations: 0.8105 MB / 0.9573 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.615e-05/0.6275, allocations: 10 kB / 0.9573 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.181e-05/0.6276, allocations: 99.88 kB / 0.9574 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.436e-05/0.6277, allocations: 67.88 kB / 0.9575 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.628, allocations: 358.2 kB / 0.9578 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.628, allocations: 45.16 kB / 0.9579 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.6281, allocations: 60.77 kB / 0.958 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006246/0.6287, allocations: 0.4967 MB / 0.9584 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.6287, allocations: 5.312 kB / 0.9584 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.6288, allocations: 20.12 kB / 0.9585 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.6288, allocations: 17.44 kB / 0.9585 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/0.6294, allocations: 361.7 kB / 0.9588 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.6308, allocations: 1.46 MB / 0.9602 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.6313, allocations: 285.3 kB / 0.9605 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.6316, allocations: 178 kB / 0.9607 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.6317, allocations: 8.297 kB / 0.9607 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.632, allocations: 202.4 kB / 0.9609 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.943e-06/0.632, allocations: 7.984 kB / 0.9609 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0006742/0.6327, allocations: 391.2 kB / 0.9613 GB, free: 376 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.6327, allocations: 81.23 kB / 0.9613 GB, free: 280 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.6331, allocations: 412.2 kB / 0.9617 GB, free: 16 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/0.6332, allocations: 32.05 kB / 0.9618 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.6333, allocations: 267.7 kB / 0.962 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.6334, allocations: 112.5 kB / 0.9621 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.6335, allocations: 88.3 kB / 0.9622 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6337, allocations: 353.4 kB / 0.9626 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.6339, allocations: 135 kB / 0.9627 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.6342, allocations: 203.7 kB / 0.9629 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/0.6348, allocations: 345.1 kB / 0.9632 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6348, allocations: 0 / 0.9632 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008025/0.6356, allocations: 467.4 kB / 0.9637 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.6357, allocations: 41.56 kB / 0.9637 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6357, allocations: 2.281 kB / 0.9637 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.6357, allocations: 8.062 kB / 0.9637 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.636, allocations: 80.98 kB / 0.9638 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.636, allocations: 7.688 kB / 0.9638 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.6364, allocations: 76.62 kB / 0.9639 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.6364, allocations: 21.42 kB / 0.9639 GB, free: 14.43 MB / 0.7325 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.0001745/0.6366, allocations: 174.4 kB / 0.964 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.6366, allocations: 45.91 kB / 0.9641 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005872/0.6372, allocations: 328.1 kB / 0.9644 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.6373, allocations: 7.938 kB / 0.9644 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6373, allocations: 9.109 kB / 0.9644 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6373, allocations: 1.344 kB / 0.9644 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.6384, allocations: 0.9667 MB / 0.9654 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6384, allocations: 2.094 kB / 0.9654 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.6386, allocations: 61.59 kB / 0.9654 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.6386, allocations: 7.25 kB / 0.9654 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.6387, allocations: 8.438 kB / 0.9654 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.6387, allocations: 3.281 kB / 0.9654 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6387, allocations: 1.625 kB / 0.9654 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.6393, allocations: 0.5113 MB / 0.9659 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-05/0.6394, allocations: 125.3 kB / 0.9661 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.6394, allocations: 12.39 kB / 0.9661 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.6396, allocations: 10.34 kB / 0.9661 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.6397, allocations: 39.44 kB / 0.9661 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.6397, allocations: 12.84 kB / 0.9661 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000266/0.64, allocations: 287.4 kB / 0.9664 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.1e-07/0.64, allocations: 0 / 0.9664 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004269/0.6404, allocations: 112.2 kB / 0.9665 GB, free: 12.45 MB / 0.7325 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.0009041/0.6413, allocations: 1.057 MB / 0.9675 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006598/0.642, allocations: 395.6 kB / 0.9679 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.642, allocations: 0.9688 kB / 0.9679 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.6423, allocations: 135.4 kB / 0.9681 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.6428, allocations: 68.84 kB / 0.9681 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.6475, allocations: 3.803 MB / 0.9718 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.6479, allocations: 0.822 MB / 0.9726 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.648, allocations: 42.33 kB / 0.9727 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.6482, allocations: 154.8 kB / 0.9728 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.6482, allocations: 3.938 kB / 0.9728 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8744/1.523, allocations: 7.121 MB / 0.9798 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/9.63, allocations: 4.297 kB / 0.9798 GB, free: 2.527 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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