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.001079/0.001079, 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.001093/0.001093, allocations: 192.4 kB / 16.25 MB, free: 6.641 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.283/2.283, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 71.88 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5536/0.5549, allocations: 140.4 MB / 0.9492 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002693/0.5576, allocations: 2.246 MB / 0.9514 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.559, allocations: 1.487 MB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.5592, allocations: 7.219 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.5593, allocations: 40.59 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.5595, allocations: 62.91 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.56, allocations: 268.7 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004374/0.5605, allocations: 0.6389 MB / 0.9539 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.5609, allocations: 363.7 kB / 0.9542 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.5611, allocations: 232.5 kB / 0.9544 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.5612, allocations: 259 kB / 0.9547 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.769e-05/0.5613, allocations: 70.47 kB / 0.9548 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.5615, allocations: 80.89 kB / 0.9548 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.5615, allocations: 127.5 kB / 0.955 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.5617, allocations: 296 kB / 0.9552 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.5621, allocations: 0.7611 MB / 0.956 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.5621, allocations: 1.031 kB / 0.956 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5621, allocations: 0 / 0.956 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.5622, allocations: 3.938 kB / 0.956 GB, free: 3.949 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.0009408/0.5631, allocations: 0.8112 MB / 0.9568 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5632, allocations: 12.75 kB / 0.9568 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.219e-05/0.5632, allocations: 97.38 kB / 0.9569 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.5633, allocations: 65.62 kB / 0.957 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.5636, allocations: 359.7 kB / 0.9573 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.5637, allocations: 45.47 kB / 0.9573 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.716e-05/0.5638, allocations: 60.17 kB / 0.9574 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007155/0.5645, allocations: 0.4973 MB / 0.9579 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.5645, allocations: 9.312 kB / 0.9579 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.5645, allocations: 24.12 kB / 0.9579 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.5646, allocations: 13.75 kB / 0.9579 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.5651, allocations: 357 kB / 0.9583 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.5667, allocations: 1.455 MB / 0.9597 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.5672, allocations: 286.1 kB / 0.96 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.5676, allocations: 178.3 kB / 0.9601 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.5676, allocations: 8.203 kB / 0.9601 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003074/0.568, allocations: 210 kB / 0.9603 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.568, allocations: 0 / 0.9603 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0007279/0.5687, allocations: 389.1 kB / 0.9607 GB, free: 496 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.5687, allocations: 81.39 kB / 0.9608 GB, free: 400 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.5691, allocations: 408 kB / 0.9612 GB, free: 140 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.5691, allocations: 37.39 kB / 0.9612 GB, free: 100 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.5693, allocations: 271 kB / 0.9615 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.745e-05/0.5694, allocations: 108.5 kB / 0.9616 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.5695, allocations: 88.2 kB / 0.9617 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5697, allocations: 352 kB / 0.962 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.57, allocations: 132.5 kB / 0.9621 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.5703, allocations: 203.4 kB / 0.9623 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/0.5708, allocations: 345 kB / 0.9626 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5709, allocations: 0 / 0.9626 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008038/0.5717, allocations: 466.6 kB / 0.9631 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.5717, allocations: 50.28 kB / 0.9631 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5717, allocations: 1.219 kB / 0.9631 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5717, allocations: 4 kB / 0.9631 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.5721, allocations: 80.98 kB / 0.9632 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5721, allocations: 8.312 kB / 0.9632 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.5724, allocations: 77.09 kB / 0.9633 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.5725, allocations: 16.83 kB / 0.9633 GB, free: 14.55 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.0001831/0.5727, allocations: 182.1 kB / 0.9635 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.5727, allocations: 41.62 kB / 0.9635 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006205/0.5734, allocations: 326.9 kB / 0.9638 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.5734, allocations: 8.344 kB / 0.9638 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5734, allocations: 3.984 kB / 0.9639 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.5734, allocations: 9.156 kB / 0.9639 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.5745, allocations: 0.9698 MB / 0.9648 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5746, allocations: 5.406 kB / 0.9648 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.5748, allocations: 61.94 kB / 0.9649 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.5748, allocations: 3.062 kB / 0.9649 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.5748, allocations: 8.219 kB / 0.9649 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5749, allocations: 3 kB / 0.9649 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5749, allocations: 2.656 kB / 0.9649 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006024/0.5755, allocations: 0.5103 MB / 0.9654 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.747e-05/0.5756, allocations: 125.6 kB / 0.9655 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.5756, allocations: 15.27 kB / 0.9655 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.5758, allocations: 10.09 kB / 0.9655 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.5759, allocations: 32.34 kB / 0.9656 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.5759, allocations: 12.66 kB / 0.9656 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002827/0.5762, allocations: 287.1 kB / 0.9658 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5762, allocations: 1.062 kB / 0.9658 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004307/0.5767, allocations: 111.8 kB / 0.966 GB, free: 12.57 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.0008985/0.5776, allocations: 1.06 MB / 0.967 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006772/0.5783, allocations: 397.2 kB / 0.9674 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5783, allocations: 384 / 0.9674 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.5786, allocations: 137.6 kB / 0.9675 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.5791, allocations: 64.41 kB / 0.9676 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/0.584, allocations: 3.992 MB / 0.9715 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.5844, allocations: 0.8229 MB / 0.9723 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.5845, allocations: 42.61 kB / 0.9723 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.5847, allocations: 155.7 kB / 0.9725 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of SimCode: time 1.693e-06/0.5847, allocations: 4 kB / 0.9725 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.6025, allocations: 6.975 MB / 0.9793 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.6027, allocations: 244.2 kB / 0.9795 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.415, allocations: 0 / 0.9795 GB, free: 2.496 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