Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001003/0.001003, allocations: 71.75 kB / 20.97 MB, free: 3.57 MB / 18.57 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.0008973/0.0008973, allocations: 165 kB / 24.27 MB, free: 276 kB / 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.9548/0.9548, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.818/1.818, allocations: 359 MB / 0.6055 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.044e-05, allocations: 3.281 kB / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.00327/0.00329, allocations: 2.009 MB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.005382, allocations: 1.599 MB / 0.7906 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.005561, allocations: 8 kB / 0.7906 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.005689, allocations: 59.2 kB / 0.7907 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.005942, allocations: 99.61 kB / 0.7908 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.006574, allocations: 300.8 kB / 0.791 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006016/0.007175, allocations: 0.6564 MB / 0.7917 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003969/0.007572, allocations: 246.4 kB / 0.7919 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/0.007939, allocations: 356.5 kB / 0.7923 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.00816, allocations: 187.4 kB / 0.7924 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.279e-05/0.008253, allocations: 68 kB / 0.7925 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.008392, allocations: 100.7 kB / 0.7926 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.392e-05/0.008485, allocations: 131.5 kB / 0.7927 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.008673, allocations: 196.5 kB / 0.7929 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.009177, allocations: 474 kB / 0.7934 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.009179, allocations: 2.438 kB / 0.7934 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.21e-07/0.00918, allocations: 0 / 0.7934 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.009186, allocations: 0 / 0.7934 GB, free: 6.398 MB / 0.7448 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.001058/0.01024, allocations: 0.8373 MB / 0.7942 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.01028, allocations: 12.03 kB / 0.7942 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002944/0.01058, allocations: 121.2 kB / 0.7943 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.01099, allocations: 297 kB / 0.7946 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.01105, allocations: 45.69 kB / 0.7946 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/0.01112, allocations: 58.03 kB / 0.7947 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006801/0.0118, allocations: 413.7 kB / 0.7951 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.01181, allocations: 8.125 kB / 0.7951 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.01185, allocations: 20.38 kB / 0.7951 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.01187, allocations: 12.88 kB / 0.7951 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.01231, allocations: 200.2 kB / 0.7953 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.01403, allocations: 1.227 MB / 0.7965 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.01448, allocations: 210.4 kB / 0.7967 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.01476, allocations: 124.9 kB / 0.7968 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.0148, allocations: 11.98 kB / 0.7968 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.01506, allocations: 166.2 kB / 0.797 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/0.01506, allocations: 1.219 kB / 0.797 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.0005534/0.01562, allocations: 270.1 kB / 0.7973 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.01567, allocations: 81.11 kB / 0.7973 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.01597, allocations: 313.5 kB / 0.7976 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.016, allocations: 37.69 kB / 0.7977 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.0162, allocations: 331.4 kB / 0.798 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.209e-05/0.01628, allocations: 116.6 kB / 0.7981 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.01641, allocations: 91.8 kB / 0.7982 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.01657, allocations: 0.5118 MB / 0.7987 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.01676, allocations: 102.6 kB / 0.7988 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.017, allocations: 196.1 kB / 0.799 GB, free: 368 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.01736, allocations: 259.7 kB / 0.7992 GB, free: 72 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.01736, allocations: 3.938 kB / 0.7992 GB, free: 68 kB / 0.7448 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006538/0.01802, allocations: 401.1 kB / 0.7996 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.01805, allocations: 37.64 kB / 0.7996 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01806, allocations: 0 / 0.7996 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.01808, allocations: 4 kB / 0.7996 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.01836, allocations: 82.48 kB / 0.7997 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.01837, allocations: 4 kB / 0.7997 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.01859, allocations: 55.66 kB / 0.7998 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.01863, allocations: 23.98 kB / 0.7998 GB, free: 15.46 MB / 0.7605 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.0001558/0.01878, allocations: 188.4 kB / 0.8 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.01884, allocations: 40.66 kB / 0.8 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.01926, allocations: 224.4 kB / 0.8002 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.01926, allocations: 4 kB / 0.8002 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01927, allocations: 3.984 kB / 0.8002 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01927, allocations: 1.281 kB / 0.8002 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008816/0.02015, allocations: 0.8232 MB / 0.801 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.02016, allocations: 4.719 kB / 0.8011 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.02036, allocations: 59.91 kB / 0.8011 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.02036, allocations: 6.844 kB / 0.8011 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.02038, allocations: 8 kB / 0.8011 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.02039, allocations: 7.938 kB / 0.8011 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.02039, allocations: 4 kB / 0.8011 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.02086, allocations: 0.5369 MB / 0.8017 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.02091, allocations: 39.7 kB / 0.8017 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.02095, allocations: 13.98 kB / 0.8017 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.02112, allocations: 11.94 kB / 0.8017 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.02119, allocations: 23.95 kB / 0.8017 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.02121, allocations: 12 kB / 0.8018 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001779/0.02139, allocations: 217.1 kB / 0.802 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1e-07/0.02139, allocations: 0 / 0.802 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004927/0.02188, allocations: 116.6 kB / 0.8021 GB, free: 13.02 MB / 0.7605 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.0001645/0.02204, allocations: 120.2 kB / 0.8022 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000482/0.02253, allocations: 302.5 kB / 0.8025 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.02253, allocations: 0 / 0.8025 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.02269, allocations: 96.7 kB / 0.8026 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.02327, allocations: 63.52 kB / 0.8026 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.02462, allocations: 0.7389 MB / 0.8034 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.765e-05/0.02471, allocations: 101.3 kB / 0.8034 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000156/0.02487, allocations: 40.08 kB / 0.8035 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.02495, allocations: 24.5 kB / 0.8035 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of SimCode: time 9.12e-07/0.02495, allocations: 0 / 0.8035 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of Templates: time 0.007611/0.03256, allocations: 3.35 MB / 0.8068 GB, free: 8.148 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.309204319957644]