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.001325/0.001325, allocations: 108 kB / 15.6 MB, free: 132 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.001363/0.001363, allocations: 193.1 kB / 16.53 MB, free: 6.391 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 / 240.2 MB, free: 4.398 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.309/2.309, allocations: 390.3 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.89 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5182/0.5197, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.00253/0.5223, allocations: 2.217 MB / 0.9519 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.5236, allocations: 1.527 MB / 0.9534 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.5238, allocations: 6.906 kB / 0.9534 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.386e-05/0.5239, allocations: 59.2 kB / 0.9534 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.5241, allocations: 96.2 kB / 0.9535 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.5246, allocations: 293.3 kB / 0.9538 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000392/0.525, allocations: 0.6427 MB / 0.9544 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.5253, allocations: 360.2 kB / 0.9548 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.5255, allocations: 236.2 kB / 0.955 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.5257, allocations: 254.3 kB / 0.9553 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.952e-05/0.5258, allocations: 71.06 kB / 0.9553 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.5259, allocations: 80.88 kB / 0.9554 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.5259, allocations: 132.1 kB / 0.9555 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.5261, allocations: 291.9 kB / 0.9558 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.5265, allocations: 0.7607 MB / 0.9565 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.5265, allocations: 0 / 0.9565 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5265, allocations: 6.156 kB / 0.9566 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.5265, allocations: 0 / 0.9566 GB, free: 3.828 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.0008588/0.5274, allocations: 0.806 MB / 0.9573 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.5274, allocations: 8.906 kB / 0.9574 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.287e-05/0.5275, allocations: 99.97 kB / 0.9574 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.5276, allocations: 66.95 kB / 0.9575 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.5279, allocations: 363.8 kB / 0.9579 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.5279, allocations: 41.06 kB / 0.9579 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.528, allocations: 62.81 kB / 0.958 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.5286, allocations: 0.5022 MB / 0.9584 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.5287, allocations: 9.25 kB / 0.9585 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.5287, allocations: 20.5 kB / 0.9585 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.5287, allocations: 13.69 kB / 0.9585 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005849/0.5293, allocations: 360.5 kB / 0.9588 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.5308, allocations: 1.461 MB / 0.9603 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.5313, allocations: 285.2 kB / 0.9605 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.5316, allocations: 178.2 kB / 0.9607 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.5317, allocations: 3.875 kB / 0.9607 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002966/0.532, allocations: 199 kB / 0.9609 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.402e-06/0.532, allocations: 0 / 0.9609 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0007038/0.5327, allocations: 403.9 kB / 0.9613 GB, free: 368 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.5327, allocations: 81.02 kB / 0.9614 GB, free: 272 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.533, allocations: 408.2 kB / 0.9617 GB, free: 12 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.5331, allocations: 36.98 kB / 0.9618 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.5333, allocations: 263.6 kB / 0.962 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.5333, allocations: 109 kB / 0.9621 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.5335, allocations: 87.94 kB / 0.9622 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5336, allocations: 359.4 kB / 0.9626 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.5339, allocations: 129.1 kB / 0.9627 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.5342, allocations: 203.1 kB / 0.9629 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.5347, allocations: 348.9 kB / 0.9632 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5347, allocations: 1.125 kB / 0.9632 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007739/0.5355, allocations: 466.5 kB / 0.9637 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.5355, allocations: 41.56 kB / 0.9637 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5355, allocations: 2.188 kB / 0.9637 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.5356, allocations: 3.906 kB / 0.9637 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.5359, allocations: 81.16 kB / 0.9638 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.5359, allocations: 11.45 kB / 0.9638 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.5362, allocations: 73.5 kB / 0.9639 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.5363, allocations: 21.67 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.0001606/0.5364, allocations: 169 kB / 0.964 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.5365, allocations: 46.81 kB / 0.9641 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006003/0.5371, allocations: 334.2 kB / 0.9644 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5371, allocations: 7.188 kB / 0.9644 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5371, allocations: 1.062 kB / 0.9644 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5371, allocations: 5.172 kB / 0.9644 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.5382, allocations: 0.9666 MB / 0.9654 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5382, allocations: 2.188 kB / 0.9654 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.5385, allocations: 57.47 kB / 0.9654 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5385, allocations: 4.125 kB / 0.9654 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.5385, allocations: 11.25 kB / 0.9654 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.5385, allocations: 7.562 kB / 0.9654 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5385, allocations: 5.859 kB / 0.9654 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/0.5391, allocations: 0.517 MB / 0.966 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.062e-05/0.5392, allocations: 124.9 kB / 0.9661 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.5392, allocations: 7.281 kB / 0.9661 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.5395, allocations: 14.52 kB / 0.9661 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.5395, allocations: 35.62 kB / 0.9661 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.5395, allocations: 20.66 kB / 0.9661 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002659/0.5398, allocations: 288.2 kB / 0.9664 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.5398, allocations: 0 / 0.9664 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004109/0.5402, allocations: 107.7 kB / 0.9665 GB, free: 12.44 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.0008109/0.5411, allocations: 1.056 MB / 0.9676 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006468/0.5417, allocations: 397.4 kB / 0.9679 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5417, allocations: 0 / 0.9679 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.542, allocations: 138.4 kB / 0.9681 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.5425, allocations: 65.53 kB / 0.9681 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/0.5468, allocations: 3.797 MB / 0.9718 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.5471, allocations: 0.8254 MB / 0.9726 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.5473, allocations: 42.83 kB / 0.9727 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.5475, allocations: 155.2 kB / 0.9728 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.5475, allocations: 0 / 0.9728 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.576, allocations: 7.123 MB / 0.9798 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/8.151, allocations: 8.234 kB / 0.9798 GB, free: 2.465 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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