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.001195/0.001195, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001768/0.001768, allocations: 185 kB / 24.09 MB, free: 416 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.9942/0.9942, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.859/1.859, allocations: 377.9 MB / 0.624 GB, free: 8.406 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.943e-06/1.943e-06, allocations: 0 / 0.812 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.678e-05, allocations: 6.578 kB / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001575/0.001592, allocations: 0.7849 MB / 0.8128 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.002458, allocations: 0.906 MB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.002503, allocations: 0.875 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.002531, allocations: 3.938 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.118e-05/0.002612, allocations: 16.64 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.002743, allocations: 45.52 kB / 0.8137 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.025e-05/0.002823, allocations: 83.77 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.002913, allocations: 23.91 kB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.897e-05/0.003012, allocations: 51.89 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.00307, allocations: 41.47 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.003092, allocations: 8 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.003103, allocations: 8 kB / 0.8139 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.003126, allocations: 19.91 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.003153, allocations: 24.42 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.212e-05/0.003246, allocations: 63.73 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.003247, allocations: 0.9062 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.92e-07/0.003248, allocations: 0 / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.875e-06/0.003251, allocations: 0.625 kB / 0.814 GB, free: 15.34 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.0003602/0.003611, allocations: 413.9 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.003644, allocations: 12.03 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.003676, allocations: 8.891 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.638e-05/0.003752, allocations: 120.5 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.003768, allocations: 9.094 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.003779, allocations: 8.312 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.003916, allocations: 93.05 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.003923, allocations: 3.938 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.003931, allocations: 0 / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.003937, allocations: 7.938 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.00398, allocations: 24.56 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.004266, allocations: 304.8 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.004476, allocations: 72.86 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.004501, allocations: 19.67 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.004521, allocations: 9.359 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.004539, allocations: 33.39 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.00454, allocations: 0 / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001551/0.004695, allocations: 79.36 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.004716, allocations: 51.41 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.004784, allocations: 185.8 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.004795, allocations: 25.7 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.004837, allocations: 134.9 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.004859, allocations: 30.7 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.004892, allocations: 23.38 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.004996, allocations: 0.4923 MB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.005015, allocations: 7.984 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.005034, allocations: 8 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.88e-05/0.005083, allocations: 44 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.005084, allocations: 1.438 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.041e-05/0.005165, allocations: 73.61 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.005176, allocations: 10.34 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.00518, allocations: 0.625 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.00519, allocations: 0 / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.005257, allocations: 16.55 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.00526, allocations: 0.5625 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.005293, allocations: 12.64 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.005299, allocations: 0 / 0.8163 GB, free: 12.86 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 6.351e-05/0.005362, allocations: 181.7 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.005382, allocations: 7.953 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.005487, allocations: 84.62 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.005488, allocations: 0 / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.00549, allocations: 0 / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.005492, allocations: 0 / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.874e-05/0.005591, allocations: 121.2 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005592, allocations: 0 / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-05/0.005642, allocations: 28.44 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.005644, allocations: 0.8125 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.005649, allocations: 0 / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.005651, allocations: 4.938 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005652, allocations: 0 / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.005766, allocations: 221 kB / 0.8169 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.005776, allocations: 11.89 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.005786, allocations: 4 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.735e-05/0.005833, allocations: 8.828 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.005882, allocations: 23.97 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.005886, allocations: 0 / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.005927, allocations: 137.4 kB / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.005927, allocations: 0 / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001402/0.006067, allocations: 12 kB / 0.8171 GB, free: 11.98 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 6.616e-05/0.006133, allocations: 99.23 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.071e-05/0.006224, allocations: 51.47 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.006225, allocations: 0 / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.911e-05/0.006264, allocations: 31.66 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.00643, allocations: 16 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.006675, allocations: 170.7 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.655e-05/0.006711, allocations: 63.34 kB / 0.8175 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.667e-05/0.006748, allocations: 7.469 kB / 0.8175 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.006825, allocations: 91.22 kB / 0.8176 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.006826, allocations: 0 / 0.8176 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of Templates: time 0.003099/0.009925, allocations: 1.841 MB / 0.8194 GB, free: 9.598 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.073066318873316]