Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.0009864/0.0009864, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001498/0.001498, allocations: 161 kB / 23.82 MB, free: 0.75 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.9744/0.9744, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.829/1.829, allocations: 377.9 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.611e-05, allocations: 5.578 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0014/0.001426, allocations: 0.7934 MB / 0.8123 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008056/0.002231, allocations: 0.8991 MB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.002272, allocations: 4 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.0023, allocations: 4.594 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.131e-05/0.002392, allocations: 16.81 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.002545, allocations: 43.75 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.759e-05/0.002632, allocations: 84.91 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.002729, allocations: 27.86 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.458e-05/0.002814, allocations: 47.95 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.507e-05/0.002879, allocations: 41.44 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.002902, allocations: 8 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.002915, allocations: 8 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.002938, allocations: 23.91 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.002965, allocations: 21.45 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.003067, allocations: 75.7 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003069, allocations: 0 / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003069, allocations: 0 / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.003074, allocations: 1.281 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003779/0.003452, allocations: 404.4 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.003486, allocations: 8.031 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.003525, allocations: 14.14 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.702e-05/0.003612, allocations: 120.5 kB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.003631, allocations: 8.375 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.003644, allocations: 8.891 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.003799, allocations: 91.56 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.003805, allocations: 5.438 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.003816, allocations: 0 / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.003822, allocations: 4 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.397e-05/0.003886, allocations: 27.97 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.004245, allocations: 333.1 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.004524, allocations: 79.89 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.004562, allocations: 19.62 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.00458, allocations: 4.625 kB / 0.8147 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.004599, allocations: 38.7 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.0046, allocations: 0 / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002077/0.004808, allocations: 85.59 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.004837, allocations: 57.16 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.004919, allocations: 177.9 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.004932, allocations: 29.69 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.004981, allocations: 134.9 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.005006, allocations: 26.11 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.005044, allocations: 31.36 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.005148, allocations: 0.4922 MB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.215e-05/0.00518, allocations: 8 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.00521, allocations: 19.97 kB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.751e-05/0.005277, allocations: 35.58 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005279, allocations: 7.938 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001025/0.005381, allocations: 73.62 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.005394, allocations: 7.984 kB / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.005398, allocations: 0 / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.005408, allocations: 0 / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/0.005478, allocations: 19.98 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.005485, allocations: 0 / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.005521, allocations: 8.875 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.005528, allocations: 3.984 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 7.067e-05/0.005598, allocations: 161 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.00562, allocations: 16.45 kB / 0.8161 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.005756, allocations: 87.86 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.005758, allocations: 0 / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.005762, allocations: 4 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.005765, allocations: 3.938 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.005884, allocations: 153.2 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005885, allocations: 0.5312 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.005938, allocations: 15.98 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.005941, allocations: 2.062 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.005949, allocations: 4 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.005951, allocations: 4 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005952, allocations: 0 / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.006098, allocations: 224.6 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.00611, allocations: 11.94 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.006122, allocations: 0 / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.006176, allocations: 4.938 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.006237, allocations: 27.97 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.006244, allocations: 5.266 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.006289, allocations: 139.6 kB / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006289, allocations: 0 / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001458/0.006435, allocations: 12.97 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.965e-05/0.006514, allocations: 92.41 kB / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.006639, allocations: 55.58 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.00664, allocations: 3.969 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.006693, allocations: 35.67 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.006894, allocations: 20.25 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.00722, allocations: 170.8 kB / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.007256, allocations: 59.34 kB / 0.8171 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.28e-05/0.007299, allocations: 15.02 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.007352, allocations: 24.48 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.007352, allocations: 1.125 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of Templates: time 0.003558/0.01091, allocations: 1.824 MB / 0.819 GB, free: 9.852 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.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.005560387857258]