Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0009934/0.0009934, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0011/0.0011, allocations: 164.9 kB / 24.87 MB, free: 8.684 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.938/1.938, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.047e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001998/0.002029, allocations: 0.7131 MB / 0.8135 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003232, allocations: 0.8748 MB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.003283, allocations: 0.5 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.003317, allocations: 5.062 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.143e-05/0.003408, allocations: 3.938 kB / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.00357, allocations: 31.84 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.003662, allocations: 40.53 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.003775, allocations: 14.39 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.003879, allocations: 31.92 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.003943, allocations: 15.97 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.003965, allocations: 4 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.003976, allocations: 8 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.004003, allocations: 11.92 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.004029, allocations: 15.98 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.004136, allocations: 44.67 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004138, allocations: 0 / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.42e-07/0.004139, allocations: 1.031 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.004143, allocations: 0 / 0.8146 GB, free: 15.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004415/0.004585, allocations: 373.9 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.004627, allocations: 8.031 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.004664, allocations: 12.88 kB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.00478, allocations: 112.6 kB / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.004803, allocations: 5.906 kB / 0.815 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.004815, allocations: 4.375 kB / 0.8151 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.00497, allocations: 62.94 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.004979, allocations: 5.625 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.00499, allocations: 8 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.004997, allocations: 0 / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.005042, allocations: 15.92 kB / 0.8151 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.005409, allocations: 261.2 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.005522, allocations: 47.05 kB / 0.8154 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/0.005556, allocations: 20.22 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.005574, allocations: 4.438 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.005604, allocations: 33.92 kB / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 2.685e-06/0.005607, allocations: 5.156 kB / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.000186/0.005793, allocations: 49.69 kB / 0.8155 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.005831, allocations: 51.41 kB / 0.8156 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.642e-05/0.005927, allocations: 170.4 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.005942, allocations: 26.23 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.006016, allocations: 142.8 kB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.006037, allocations: 9.312 kB / 0.8159 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.006079, allocations: 19.38 kB / 0.8159 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.006236, allocations: 0.4923 MB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.006258, allocations: 5.156 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.006277, allocations: 7.922 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/0.006328, allocations: 23.69 kB / 0.8165 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.00633, allocations: 0.9375 kB / 0.8165 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001023/0.006432, allocations: 53.58 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.006448, allocations: 8.844 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.006453, allocations: 0 / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.006464, allocations: 0.8438 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.006552, allocations: 11.98 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.006555, allocations: 1.594 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/0.006593, allocations: 7.938 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.006601, allocations: 3.984 kB / 0.8165 GB, free: 13.42 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: 2 (reaToInt.y,intGreEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.234e-05/0.006683, allocations: 153.8 kB / 0.8167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.006712, allocations: 11.89 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.006738, allocations: 13.05 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.00674, allocations: 0 / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.006742, allocations: 4 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.006744, allocations: 1.375 kB / 0.8167 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.006889, allocations: 105.2 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.00689, allocations: 4 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.831e-05/0.006938, allocations: 9.359 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.00694, allocations: 0 / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.006948, allocations: 7.938 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.006952, allocations: 3.984 kB / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.006953, allocations: 2.969 kB / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.007108, allocations: 195.9 kB / 0.817 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.007121, allocations: 11.88 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.007136, allocations: 7.938 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.007204, allocations: 4 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.007262, allocations: 11.98 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-06/0.00727, allocations: 7.938 kB / 0.8171 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.007321, allocations: 127.2 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.007322, allocations: 0.5 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002482/0.00757, allocations: 9.938 kB / 0.8172 GB, free: 12.7 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: 2 (intGreEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 0.0001017/0.007671, allocations: 95.25 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.007772, allocations: 27.67 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.007774, allocations: 1.031 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.267e-05/0.007817, allocations: 23.61 kB / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.008104, allocations: 12.48 kB / 0.8174 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.008431, allocations: 133.6 kB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.678e-05/0.008478, allocations: 59.34 kB / 0.8175 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.125e-05/0.008519, allocations: 4 kB / 0.8175 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.334e-05/0.008602, allocations: 76.98 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of SimCode: time 9.62e-07/0.008603, allocations: 0 / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.003478/0.01208, allocations: 1.063 MB / 0.8187 GB, free: 11.18 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.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.302570315077901]