Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 173 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9222/0.9222, allocations: 177.2 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.025/2.025, allocations: 429.5 MB / 0.6733 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.153e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002613/0.002634, allocations: 2.045 MB / 0.8801 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.004809, allocations: 1.592 MB / 0.8817 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.005084, allocations: 13.03 kB / 0.8817 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.005193, allocations: 63.19 kB / 0.8818 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.005431, allocations: 100.1 kB / 0.8819 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006915/0.006123, allocations: 312.3 kB / 0.8822 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000555/0.006678, allocations: 0.6486 MB / 0.8828 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006393/0.007317, allocations: 250.9 kB / 0.883 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.007654, allocations: 355.3 kB / 0.8834 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.007816, allocations: 181.2 kB / 0.8835 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.007878, allocations: 72 kB / 0.8836 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.007993, allocations: 95.91 kB / 0.8837 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.008063, allocations: 131.5 kB / 0.8838 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.008194, allocations: 196.8 kB / 0.884 GB, free: 316 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007297/0.008924, allocations: 466.2 kB / 0.8845 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.008927, allocations: 0 / 0.8845 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.81e-07/0.008928, allocations: 0 / 0.8845 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.008935, allocations: 1.062 kB / 0.8845 GB, free: 15.85 MB / 0.8542 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.0008598/0.009795, allocations: 0.8429 MB / 0.8853 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.009835, allocations: 12.03 kB / 0.8853 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.01005, allocations: 120.5 kB / 0.8854 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.01034, allocations: 295.1 kB / 0.8857 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.01038, allocations: 41.69 kB / 0.8857 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.01042, allocations: 58.84 kB / 0.8858 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.01089, allocations: 413.7 kB / 0.8862 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.0109, allocations: 192 / 0.8862 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.01093, allocations: 20.38 kB / 0.8862 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.01094, allocations: 16.38 kB / 0.8862 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.0112, allocations: 199.6 kB / 0.8864 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.01241, allocations: 1.219 MB / 0.8876 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.01274, allocations: 220 kB / 0.8878 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.01292, allocations: 122.5 kB / 0.8879 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.01294, allocations: 9.172 kB / 0.8879 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.01313, allocations: 166.2 kB / 0.8881 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 1.372e-06/0.01313, allocations: 4 kB / 0.8881 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0003916/0.01352, allocations: 261.1 kB / 0.8884 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.01356, allocations: 81.11 kB / 0.8884 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.01376, allocations: 316.2 kB / 0.8887 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.01378, allocations: 37.64 kB / 0.8888 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.01393, allocations: 335.4 kB / 0.8891 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.01399, allocations: 119 kB / 0.8892 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.01408, allocations: 83.84 kB / 0.8893 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.01421, allocations: 0.5157 MB / 0.8898 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.01462, allocations: 102.7 kB / 0.8899 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.01478, allocations: 200.1 kB / 0.8901 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.01503, allocations: 247.1 kB / 0.8903 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01503, allocations: 0 / 0.8903 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004068/0.01544, allocations: 404.2 kB / 0.8907 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.01547, allocations: 41.89 kB / 0.8907 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.01548, allocations: 4 kB / 0.8907 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.01549, allocations: 4 kB / 0.8907 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.01567, allocations: 79.84 kB / 0.8908 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.01568, allocations: 7.984 kB / 0.8908 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.01581, allocations: 51.66 kB / 0.8909 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.01584, allocations: 19.98 kB / 0.8909 GB, free: 8.914 MB / 0.8542 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.0001089/0.01595, allocations: 180.5 kB / 0.8911 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.01598, allocations: 43.81 kB / 0.8911 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.01626, allocations: 238.4 kB / 0.8913 GB, free: 8.453 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01626, allocations: 4 kB / 0.8913 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01626, allocations: 0 / 0.8913 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01627, allocations: 3.984 kB / 0.8913 GB, free: 8.445 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005867/0.01686, allocations: 0.8255 MB / 0.8921 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01686, allocations: 0 / 0.8921 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.01698, allocations: 64.09 kB / 0.8922 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.01698, allocations: 4 kB / 0.8922 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.017, allocations: 8 kB / 0.8922 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.017, allocations: 11.88 kB / 0.8922 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.017, allocations: 0 / 0.8922 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.01733, allocations: 0.5379 MB / 0.8928 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.01735, allocations: 31.75 kB / 0.8928 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.01738, allocations: 12 kB / 0.8928 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.01747, allocations: 15.92 kB / 0.8928 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.01753, allocations: 31.95 kB / 0.8928 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.01755, allocations: 12 kB / 0.8929 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001153/0.01766, allocations: 221 kB / 0.8931 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01766, allocations: 0 / 0.8931 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002882/0.01795, allocations: 119.6 kB / 0.8932 GB, free: 6.449 MB / 0.8542 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.0001153/0.01807, allocations: 111.1 kB / 0.8933 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.01841, allocations: 311.2 kB / 0.8936 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01841, allocations: 384 / 0.8936 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.01852, allocations: 103.4 kB / 0.8937 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.01885, allocations: 56.34 kB / 0.8937 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.01986, allocations: 0.7352 MB / 0.8945 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.795e-05/0.01993, allocations: 105.3 kB / 0.8946 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.062e-05/0.02002, allocations: 30.97 kB / 0.8946 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.02008, allocations: 32.48 kB / 0.8946 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/0.02008, allocations: 0 / 0.8946 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of Templates: time 0.006208/0.02629, allocations: 3.557 MB / 0.8981 GB, free: 1.406 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3463113540783525]