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.001282/0.001282, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001036/0.001036, allocations: 190.6 kB / 16.25 MB, free: 6.633 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.202/1.202, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.306/2.306, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.91 kB / 0.8689 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5158, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002917/0.5187, allocations: 2.244 MB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.5203, allocations: 1.502 MB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.5204, allocations: 8 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.97e-05/0.5205, allocations: 39.56 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.5208, allocations: 59.48 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.5213, allocations: 271.3 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.5218, allocations: 0.645 MB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003943/0.5222, allocations: 357.8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.5224, allocations: 235.2 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.5226, allocations: 258.7 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.79e-05/0.5227, allocations: 68 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.5228, allocations: 87.98 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.5229, allocations: 123.6 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.5231, allocations: 294.5 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005133/0.5236, allocations: 0.7614 MB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5236, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5236, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.5236, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 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.0009829/0.5246, allocations: 0.8129 MB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.5246, allocations: 8.031 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.903e-05/0.5247, allocations: 98.69 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.772e-05/0.5248, allocations: 64.19 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.5252, allocations: 355.6 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.5252, allocations: 45.69 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/0.5253, allocations: 64.31 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/0.526, allocations: 0.4992 MB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5261, allocations: 11.92 kB / 1.026 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.5261, allocations: 20 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.5261, allocations: 12 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005884/0.5267, allocations: 360.7 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.5284, allocations: 1.461 MB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.5289, allocations: 289.4 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.5292, allocations: 183.7 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.5293, allocations: 4 kB / 1.028 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003355/0.5296, allocations: 206.8 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.453e-06/0.5296, allocations: 0 / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.000713/0.5303, allocations: 398.1 kB / 1.028 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.5304, allocations: 81.11 kB / 1.028 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.5307, allocations: 413.6 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.5308, allocations: 29.7 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.5309, allocations: 267.9 kB / 1.029 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.531, allocations: 106.5 kB / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.5311, allocations: 86.02 kB / 1.029 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5312, allocations: 362.7 kB / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.5315, allocations: 128.8 kB / 1.03 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.5318, allocations: 207.1 kB / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/0.5323, allocations: 343.8 kB / 1.03 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5323, allocations: 4 kB / 1.03 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007231/0.533, allocations: 470.5 kB / 1.031 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.5331, allocations: 41.69 kB / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.5331, allocations: 0 / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.5331, allocations: 4 kB / 1.031 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.5334, allocations: 76.09 kB / 1.031 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.5334, allocations: 15.92 kB / 1.031 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.5338, allocations: 75.34 kB / 1.031 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.5338, allocations: 19.98 kB / 1.031 GB, free: 3.848 MB / 0.7794 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.000156/0.534, allocations: 169.7 kB / 1.031 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.534, allocations: 43.44 kB / 1.031 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005645/0.5346, allocations: 336.2 kB / 1.032 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5346, allocations: 7.938 kB / 1.032 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5346, allocations: 4 kB / 1.032 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5346, allocations: 3.984 kB / 1.032 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009823/0.5356, allocations: 0.9703 MB / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5356, allocations: 4 kB / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.5359, allocations: 55.91 kB / 1.033 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5359, allocations: 7.938 kB / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.5359, allocations: 12 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5359, allocations: 8.188 kB / 1.033 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5359, allocations: 0 / 1.033 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/0.5364, allocations: 0.5083 MB / 1.033 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.5365, allocations: 124.6 kB / 1.033 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.5366, allocations: 8 kB / 1.033 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.5368, allocations: 15.98 kB / 1.033 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.5369, allocations: 27.91 kB / 1.033 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.5369, allocations: 19.98 kB / 1.033 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002418/0.5371, allocations: 291.1 kB / 1.034 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5371, allocations: 0 / 1.034 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003946/0.5375, allocations: 115.6 kB / 1.034 GB, free: 1.004 MB / 0.7794 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.0007745/0.5383, allocations: 1.06 MB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006158/0.5389, allocations: 395.6 kB / 1.035 GB, free: 15.5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5389, allocations: 3.938 kB / 1.035 GB, free: 15.5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.5392, allocations: 137.2 kB / 1.035 GB, free: 15.36 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.5397, allocations: 69.41 kB / 1.035 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.5439, allocations: 3.977 MB / 1.039 GB, free: 11.16 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5443, allocations: 0.8276 MB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001461/0.5444, allocations: 43.27 kB / 1.04 GB, free: 10.27 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.5446, allocations: 151.4 kB / 1.04 GB, free: 10.12 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.5446, allocations: 3.938 kB / 1.04 GB, free: 10.11 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.076/2.621, allocations: 6.976 MB / 1.047 GB, free: 3.359 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003013/2.621, allocations: 241.6 kB / 1.047 GB, free: 3.102 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/5.271, allocations: 3.516 kB / 1.047 GB, free: 3.102 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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