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.001342/0.001342, 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.001462/0.001462, 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.972/0.972, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.925/1.925, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.124e-06/2.124e-06, allocations: 0 / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.866e-05, allocations: 6.344 kB / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001587/0.001616, allocations: 0.787 MB / 0.8123 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.002653, allocations: 0.9038 MB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.002704, allocations: 4 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.865e-05/0.002743, allocations: 7.875 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.002851, allocations: 7.984 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.003064, allocations: 43.88 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.003185, allocations: 85.06 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.003308, allocations: 23.92 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.909e-05/0.003407, allocations: 55.81 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.003477, allocations: 37.48 kB / 0.8134 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.003501, allocations: 8 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.003515, allocations: 8 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.003543, allocations: 27.91 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.003577, allocations: 27.91 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.003699, allocations: 61.48 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003701, allocations: 0 / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003703, allocations: 0 / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.003707, allocations: 0 / 0.8136 GB, free: 15.63 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.0004636/0.004171, allocations: 405.3 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.004215, allocations: 8.031 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.00427, allocations: 17.42 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.004373, allocations: 125.1 kB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.004397, allocations: 8.375 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.004414, allocations: 4.906 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.004605, allocations: 92.2 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.004616, allocations: 3.938 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.004628, allocations: 0 / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.004636, allocations: 4.531 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.238e-05/0.004709, allocations: 33.28 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.005117, allocations: 323.6 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.005478, allocations: 80.23 kB / 0.8146 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.005526, allocations: 28.83 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.005549, allocations: 0 / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.005573, allocations: 33.39 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.005574, allocations: 5.031 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002393/0.005814, allocations: 89.64 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.005843, allocations: 56.25 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.005938, allocations: 185.8 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.005952, allocations: 26.55 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.006009, allocations: 138.9 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.006038, allocations: 24.64 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.006081, allocations: 31.36 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.006221, allocations: 0.4883 MB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.225e-05/0.006263, allocations: 13.27 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/0.006296, allocations: 12.3 kB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.514e-05/0.006371, allocations: 40.67 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.006374, allocations: 0 / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001237/0.006497, allocations: 78.83 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.006512, allocations: 4 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.006517, allocations: 1.312 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.006532, allocations: 3.938 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.006615, allocations: 23.97 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.006621, allocations: 0 / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.006661, allocations: 9.594 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.00667, allocations: 8 kB / 0.8159 GB, free: 13.07 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.283e-05/0.006743, allocations: 160.5 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.006765, allocations: 14.7 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.006917, allocations: 82.09 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.006919, allocations: 3.938 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.006922, allocations: 0 / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006926, allocations: 0 / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.007127, allocations: 152.5 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.007129, allocations: 0.5 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.337e-05/0.007192, allocations: 24.44 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.007195, allocations: 1.938 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.007205, allocations: 4 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007206, allocations: 0 / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.007207, allocations: 0 / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.00736, allocations: 227.8 kB / 0.8165 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.007371, allocations: 4.609 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.007386, allocations: 0.6562 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.288e-05/0.007439, allocations: 7.984 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.007502, allocations: 30.78 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.007509, allocations: 4 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.048e-05/0.007549, allocations: 135.2 kB / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007549, allocations: 0 / 0.8167 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001549/0.007704, allocations: 16 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 8.979e-05/0.007794, allocations: 91.25 kB / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.007921, allocations: 50.31 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007923, allocations: 0 / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.421e-05/0.007977, allocations: 43.59 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.0002128/0.00819, allocations: 15.94 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.0003432/0.008533, allocations: 168.3 kB / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.137e-05/0.008574, allocations: 64.47 kB / 0.8171 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.008614, allocations: 11.22 kB / 0.8171 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.008671, allocations: 24.48 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of SimCode: time 8.02e-07/0.008672, allocations: 1.656 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of Templates: time 0.003179/0.01185, allocations: 1.727 MB / 0.8189 GB, free: 9.949 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.359935659915209]