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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001061/0.001061, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007387/0.007387, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.206/1.206, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.065/2.065, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003284, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5187/0.519, allocations: 142.4 MB / 0.9552 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.001631/0.5207, allocations: 1.842 MB / 0.957 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.5226, allocations: 1.501 MB / 0.9584 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003914/0.523, allocations: 11.12 kB / 0.9584 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.5231, allocations: 35.58 kB / 0.9585 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.5236, allocations: 63.94 kB / 0.9585 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.5242, allocations: 264.5 kB / 0.9588 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000515/0.5247, allocations: 0.5809 MB / 0.9594 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004073/0.5252, allocations: 339.4 kB / 0.9597 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.5253, allocations: 145.1 kB / 0.9598 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.5255, allocations: 181.5 kB / 0.96 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.5255, allocations: 23.06 kB / 0.96 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.547e-05/0.5256, allocations: 29.98 kB / 0.96 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.5257, allocations: 64.14 kB / 0.9601 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.5258, allocations: 244 kB / 0.9603 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.5262, allocations: 0.7016 MB / 0.961 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5262, allocations: 0 / 0.961 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5262, allocations: 0 / 0.961 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5262, allocations: 0 / 0.961 GB, free: 3.051 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.0008009/0.527, allocations: 0.7171 MB / 0.9617 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.5271, allocations: 9.188 kB / 0.9617 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/0.5272, allocations: 96.56 kB / 0.9618 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.777e-05/0.5272, allocations: 58.53 kB / 0.9619 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.5275, allocations: 360.2 kB / 0.9622 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.5276, allocations: 49.38 kB / 0.9623 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/0.5277, allocations: 62.75 kB / 0.9623 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000725/0.5284, allocations: 0.5069 MB / 0.9628 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.5284, allocations: 4.969 kB / 0.9628 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.5285, allocations: 20.31 kB / 0.9629 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.5285, allocations: 18.14 kB / 0.9629 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/0.5291, allocations: 370.1 kB / 0.9632 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.5306, allocations: 1.47 MB / 0.9647 GB, free: 256 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.5311, allocations: 294.5 kB / 0.9649 GB, free: 80 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.5315, allocations: 187 kB / 0.9651 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.5315, allocations: 5.219 kB / 0.9651 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/0.5318, allocations: 206.3 kB / 0.9653 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.5318, allocations: 0 / 0.9653 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.00075/0.5326, allocations: 412.3 kB / 0.9657 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.5327, allocations: 81.7 kB / 0.9658 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.5331, allocations: 415.5 kB / 0.9662 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.5331, allocations: 33.64 kB / 0.9662 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.5333, allocations: 267.8 kB / 0.9665 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.491e-05/0.5334, allocations: 107.8 kB / 0.9666 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.5334, allocations: 47.84 kB / 0.9666 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5335, allocations: 351.7 kB / 0.967 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.5338, allocations: 140.5 kB / 0.9671 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.5342, allocations: 204.9 kB / 0.9673 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/0.5347, allocations: 358.4 kB / 0.9676 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5347, allocations: 0 / 0.9676 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007989/0.5355, allocations: 489.9 kB / 0.9681 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.5356, allocations: 37.34 kB / 0.9681 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5356, allocations: 2 kB / 0.9681 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5356, allocations: 4.219 kB / 0.9681 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.5359, allocations: 79.84 kB / 0.9682 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.5359, allocations: 11.3 kB / 0.9682 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.5363, allocations: 93 kB / 0.9683 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.5364, allocations: 21.33 kB / 0.9683 GB, free: 13.71 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.0001685/0.5365, allocations: 170 kB / 0.9685 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.5366, allocations: 41.53 kB / 0.9685 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/0.5372, allocations: 341.6 kB / 0.9689 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5372, allocations: 7.719 kB / 0.9689 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5372, allocations: 0.875 kB / 0.9689 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5372, allocations: 3.984 kB / 0.9689 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.5383, allocations: 0.9854 MB / 0.9698 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5384, allocations: 1.312 kB / 0.9698 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.5386, allocations: 65.19 kB / 0.9699 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.5386, allocations: 2.188 kB / 0.9699 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.5386, allocations: 7.875 kB / 0.9699 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.5386, allocations: 4 kB / 0.9699 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5387, allocations: 1.875 kB / 0.9699 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005796/0.5392, allocations: 0.5322 MB / 0.9704 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.5393, allocations: 125 kB / 0.9706 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.5394, allocations: 11.75 kB / 0.9706 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.5396, allocations: 17.2 kB / 0.9706 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.5397, allocations: 31.06 kB / 0.9706 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.5397, allocations: 9 kB / 0.9706 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002658/0.54, allocations: 291.7 kB / 0.9709 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.54, allocations: 0 / 0.9709 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003998/0.5404, allocations: 108.5 kB / 0.971 GB, free: 11.74 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.0008277/0.5412, allocations: 1.076 MB / 0.9721 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006341/0.5419, allocations: 394.6 kB / 0.9724 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5419, allocations: 1 kB / 0.9724 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.5421, allocations: 142.1 kB / 0.9726 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006149/0.5427, allocations: 69.16 kB / 0.9726 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.5474, allocations: 4.01 MB / 0.9765 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.5477, allocations: 0.8223 MB / 0.9774 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000148/0.5479, allocations: 51.39 kB / 0.9774 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.5481, allocations: 156.3 kB / 0.9775 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.5481, allocations: 0 / 0.9775 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2766/0.8247, allocations: 6.677 MB / 0.9841 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/0.825, allocations: 245 kB / 0.9843 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/3.528, allocations: 2.75 kB / 0.9843 GB, free: 0.9688 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