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.001074/0.001074, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001021/0.001021, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.079/1.079, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.51/2.51, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 2.956e-06/2.956e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.423e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002736/0.002771, allocations: 2.018 MB / 0.8406 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.005018, allocations: 1.644 MB / 0.8422 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.00524, allocations: 12 kB / 0.8422 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.926e-05/0.005339, allocations: 55.27 kB / 0.8422 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.005594, allocations: 103 kB / 0.8423 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.006179, allocations: 295.4 kB / 0.8426 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004926/0.006671, allocations: 0.6525 MB / 0.8432 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.00706, allocations: 258.3 kB / 0.8435 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004039/0.007464, allocations: 363.3 kB / 0.8438 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.007657, allocations: 187.3 kB / 0.844 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.683e-05/0.007733, allocations: 68 kB / 0.8441 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.007883, allocations: 95.92 kB / 0.8442 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.007954, allocations: 131.6 kB / 0.8443 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.00809, allocations: 199.5 kB / 0.8445 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.008552, allocations: 462.1 kB / 0.8449 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.008557, allocations: 0 / 0.8449 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.475e-06/0.00856, allocations: 4 kB / 0.8449 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.008567, allocations: 0 / 0.8449 GB, free: 7.68 MB / 0.8073 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.0007689/0.009336, allocations: 0.7236 MB / 0.8456 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.009376, allocations: 12.62 kB / 0.8457 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.00959, allocations: 92.88 kB / 0.8457 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.009847, allocations: 228.4 kB / 0.846 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.009881, allocations: 41.69 kB / 0.846 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.009923, allocations: 60.38 kB / 0.8461 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.01028, allocations: 395.9 kB / 0.8464 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.0103, allocations: 192 / 0.8464 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.01032, allocations: 20.38 kB / 0.8465 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.01033, allocations: 16.38 kB / 0.8465 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.01048, allocations: 125.1 kB / 0.8466 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.01152, allocations: 0.8844 MB / 0.8475 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.01176, allocations: 172.9 kB / 0.8476 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.0119, allocations: 97.66 kB / 0.8477 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.01193, allocations: 7.984 kB / 0.8477 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.01209, allocations: 155.9 kB / 0.8479 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.0121, allocations: 0 / 0.8479 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34): time 0.0002511/0.01235, allocations: 189.9 kB / 0.8481 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.01239, allocations: 81.11 kB / 0.8481 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.01255, allocations: 252.9 kB / 0.8484 GB, free: 3.992 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.01257, allocations: 37.7 kB / 0.8484 GB, free: 3.949 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.01284, allocations: 269.1 kB / 0.8487 GB, free: 3.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.0129, allocations: 111 kB / 0.8488 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.01299, allocations: 86.11 kB / 0.8488 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.01307, allocations: 346.7 kB / 0.8492 GB, free: 3.133 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.01316, allocations: 78.67 kB / 0.8493 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.01327, allocations: 157.4 kB / 0.8494 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.01345, allocations: 210.2 kB / 0.8496 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.01345, allocations: 0 / 0.8496 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002626/0.01371, allocations: 296.7 kB / 0.8499 GB, free: 2.328 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.01375, allocations: 41.69 kB / 0.8499 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.01376, allocations: 7.984 kB / 0.8499 GB, free: 2.273 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.01377, allocations: 0 / 0.8499 GB, free: 2.273 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.01398, allocations: 91.78 kB / 0.85 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.01399, allocations: 0 / 0.85 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.01412, allocations: 63.83 kB / 0.8501 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.01415, allocations: 12 kB / 0.8501 GB, free: 2.109 MB / 0.8073 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.0001137/0.01426, allocations: 133.8 kB / 0.8502 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.01429, allocations: 31.92 kB / 0.8503 GB, free: 1.938 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.01452, allocations: 167.6 kB / 0.8504 GB, free: 1.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01452, allocations: 4 kB / 0.8504 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.01452, allocations: 0 / 0.8504 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.01453, allocations: 11.97 kB / 0.8504 GB, free: 1.754 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.015, allocations: 0.5564 MB / 0.851 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.01501, allocations: 0 / 0.851 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.01515, allocations: 67.89 kB / 0.851 GB, free: 1.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.01516, allocations: 4 kB / 0.851 GB, free: 1.086 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01517, allocations: 8 kB / 0.851 GB, free: 1.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01517, allocations: 0 / 0.851 GB, free: 1.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.01518, allocations: 7.938 kB / 0.8511 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.0154, allocations: 374.1 kB / 0.8514 GB, free: 0.668 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.01543, allocations: 31.75 kB / 0.8514 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.01546, allocations: 8 kB / 0.8515 GB, free: 0.6289 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.01555, allocations: 11.94 kB / 0.8515 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.0156, allocations: 31.89 kB / 0.8515 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.01561, allocations: 4 kB / 0.8515 GB, free: 0.582 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.632e-05/0.01568, allocations: 86.77 kB / 0.8516 GB, free: 0.4961 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01568, allocations: 0 / 0.8516 GB, free: 0.4961 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000294/0.01597, allocations: 127.6 kB / 0.8517 GB, free: 380 kB / 0.8073 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.0001355/0.01611, allocations: 100.3 kB / 0.8518 GB, free: 272 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.01639, allocations: 272.4 kB / 0.8521 GB, free: 15.98 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.0164, allocations: 4 kB / 0.8521 GB, free: 15.97 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/0.01648, allocations: 80.62 kB / 0.8521 GB, free: 15.89 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.01679, allocations: 62.22 kB / 0.8522 GB, free: 15.83 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009709/0.01776, allocations: 0.7012 MB / 0.8529 GB, free: 15.08 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.381e-05/0.01784, allocations: 109.3 kB / 0.853 GB, free: 14.95 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.694e-05/0.01793, allocations: 34.97 kB / 0.853 GB, free: 14.92 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.01808, allocations: 111.3 kB / 0.8531 GB, free: 14.81 MB / 0.823 GB Notification: Performance of SimCode: time 6.41e-07/0.01808, allocations: 7.828 kB / 0.8531 GB, free: 14.81 MB / 0.823 GB Notification: Performance of Templates: time 0.006728/0.02481, allocations: 3.605 MB / 0.8567 GB, free: 11.32 MB / 0.823 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 -s gbode -gbm=radauIIA3 -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.440023705828935]