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: translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001218/0.001218, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.46/2.46, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 71.88 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.8285, allocations: 140.3 MB / 0.9489 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003048/0.8316, allocations: 2.25 MB / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.8335, allocations: 1.507 MB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.8337, allocations: 9.156 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.8339, allocations: 39.56 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.8341, allocations: 63.3 kB / 0.9527 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.8347, allocations: 269.3 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004895/0.8352, allocations: 0.5817 MB / 0.9535 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/0.8357, allocations: 350.7 kB / 0.9539 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.8359, allocations: 188.2 kB / 0.954 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.8361, allocations: 243 kB / 0.9543 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/0.8362, allocations: 34.25 kB / 0.9543 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.8363, allocations: 49.27 kB / 0.9543 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.238e-05/0.8364, allocations: 95.53 kB / 0.9544 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.8366, allocations: 259.6 kB / 0.9547 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.8371, allocations: 0.7364 MB / 0.9554 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.8371, allocations: 0 / 0.9554 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8371, allocations: 0 / 0.9554 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.8371, allocations: 1.062 kB / 0.9554 GB, free: 4.137 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.001183/0.8383, allocations: 0.8102 MB / 0.9562 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.8384, allocations: 10.59 kB / 0.9562 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.8385, allocations: 64.47 kB / 0.9563 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.839, allocations: 359.8 kB / 0.9566 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.839, allocations: 41.66 kB / 0.9566 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/0.8391, allocations: 55.47 kB / 0.9567 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008258/0.8399, allocations: 0.5065 MB / 0.9572 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.84, allocations: 192 / 0.9572 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.84, allocations: 24.25 kB / 0.9572 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.84, allocations: 18.38 kB / 0.9572 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.8407, allocations: 360.4 kB / 0.9576 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.8425, allocations: 1.456 MB / 0.959 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.843, allocations: 290 kB / 0.9593 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/0.8434, allocations: 182.3 kB / 0.9595 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.8435, allocations: 8.172 kB / 0.9595 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003427/0.8438, allocations: 197.8 kB / 0.9596 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.8438, allocations: 4 kB / 0.9597 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0008439/0.8447, allocations: 394.3 kB / 0.96 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.8447, allocations: 85.3 kB / 0.9601 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/0.8452, allocations: 404 kB / 0.9605 GB, free: 416 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.8452, allocations: 33.8 kB / 0.9605 GB, free: 380 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.8454, allocations: 272.4 kB / 0.9608 GB, free: 132 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.8454, allocations: 110.9 kB / 0.9609 GB, free: 32 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.8456, allocations: 84.97 kB / 0.961 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.8458, allocations: 352.7 kB / 0.9613 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.8461, allocations: 135.5 kB / 0.9614 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.8465, allocations: 215.1 kB / 0.9616 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/0.8471, allocations: 344.1 kB / 0.962 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8471, allocations: 1.406 kB / 0.962 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008768/0.848, allocations: 468.2 kB / 0.9624 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/0.848, allocations: 42.84 kB / 0.9625 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.848, allocations: 1.812 kB / 0.9625 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.8481, allocations: 7.531 kB / 0.9625 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.8484, allocations: 73.22 kB / 0.9625 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/0.8485, allocations: 11.88 kB / 0.9625 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.8489, allocations: 81.36 kB / 0.9626 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.8489, allocations: 21.42 kB / 0.9626 GB, free: 14.8 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.0002148/0.8491, allocations: 169.7 kB / 0.9628 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.8492, allocations: 41.72 kB / 0.9628 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006965/0.8499, allocations: 324.9 kB / 0.9632 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.8499, allocations: 3.562 kB / 0.9632 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8499, allocations: 4.719 kB / 0.9632 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.8499, allocations: 4.703 kB / 0.9632 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.8512, allocations: 0.976 MB / 0.9641 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.8513, allocations: 6.172 kB / 0.9641 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.8515, allocations: 60.94 kB / 0.9642 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.8515, allocations: 4.312 kB / 0.9642 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.8515, allocations: 7.719 kB / 0.9642 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.8516, allocations: 3.312 kB / 0.9642 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.8516, allocations: 2.188 kB / 0.9642 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007504/0.8523, allocations: 0.5146 MB / 0.9647 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.8525, allocations: 125 kB / 0.9648 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.8525, allocations: 12.19 kB / 0.9648 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.8528, allocations: 14.33 kB / 0.9649 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.8529, allocations: 31.09 kB / 0.9649 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.8529, allocations: 12.88 kB / 0.9649 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004135/0.8533, allocations: 291.7 kB / 0.9652 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8533, allocations: 0 / 0.9652 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000601/0.8539, allocations: 104.7 kB / 0.9653 GB, free: 12.84 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.0002371/0.8542, allocations: 117.6 kB / 0.9654 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007862/0.855, allocations: 386.1 kB / 0.9658 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.855, allocations: 3.938 kB / 0.9658 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.8553, allocations: 142.1 kB / 0.9659 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.8559, allocations: 67.73 kB / 0.966 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.8574, allocations: 0.9232 MB / 0.9669 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.8579, allocations: 0.8222 MB / 0.9677 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001635/0.858, allocations: 43.58 kB / 0.9677 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.445e-05/0.8581, allocations: 34.44 kB / 0.9677 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of SimCode: time 2.755e-06/0.8581, allocations: 0 / 0.9677 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.008726/0.8669, allocations: 3.728 MB / 0.9714 GB, free: 9.133 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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