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.001008/0.001008, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001008/0.001008, allocations: 161 kB / 24.16 MB, free: 332 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.9461/0.9461, allocations: 177.1 MB / 204.6 MB, free: 5.344 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.912/1.912, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.563e-06/1.563e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.27e-05, allocations: 6.312 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002002/0.002024, allocations: 0.7301 MB / 0.7607 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003169, allocations: 0.8722 MB / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.003218, allocations: 1.219 kB / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.00325, allocations: 3.938 kB / 0.7616 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.86e-05/0.003339, allocations: 10 kB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.003499, allocations: 28.56 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.532e-05/0.003594, allocations: 46.23 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.643e-05/0.003681, allocations: 4 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.003792, allocations: 37.75 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.003856, allocations: 18.56 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.003882, allocations: 4 kB / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.003893, allocations: 4.5 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.003921, allocations: 15.02 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.003947, allocations: 13.84 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.004048, allocations: 34.39 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.00405, allocations: 0 / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004051, allocations: 0.6562 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.004055, allocations: 5.312 kB / 0.7618 GB, free: 4.824 MB / 0.7136 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.0003776/0.004432, allocations: 245.6 kB / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.004469, allocations: 9.062 kB / 0.762 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.004503, allocations: 4.938 kB / 0.7621 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.764e-05/0.004601, allocations: 113.7 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.00462, allocations: 5.406 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.004635, allocations: 8.312 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.004784, allocations: 67.62 kB / 0.7622 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.004794, allocations: 3.938 kB / 0.7622 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.004804, allocations: 5.469 kB / 0.7622 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.004811, allocations: 4 kB / 0.7623 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.951e-05/0.004851, allocations: 11.98 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.005428, allocations: 170.1 kB / 0.7624 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/0.005527, allocations: 34.5 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.275e-05/0.00555, allocations: 10.11 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.005564, allocations: 3.938 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.005588, allocations: 34.56 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.00559, allocations: 1.25 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001499/0.00574, allocations: 57.55 kB / 0.7626 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.005777, allocations: 55.41 kB / 0.7626 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.619e-05/0.005843, allocations: 111.8 kB / 0.7627 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.005856, allocations: 25.7 kB / 0.7627 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.005895, allocations: 96.08 kB / 0.7628 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.005913, allocations: 4.484 kB / 0.7628 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.00595, allocations: 23.23 kB / 0.7629 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.006046, allocations: 318.8 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.006067, allocations: 4 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.699e-05/0.006084, allocations: 3.984 kB / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.368e-05/0.006128, allocations: 22.06 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00613, allocations: 0 / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.608e-05/0.006216, allocations: 51.06 kB / 0.7632 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.006229, allocations: 4 kB / 0.7632 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.006235, allocations: 4 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.006248, allocations: 0 / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.00634, allocations: 8.484 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.006344, allocations: 0 / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.006382, allocations: 4.75 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.006388, allocations: 0 / 0.7633 GB, free: 3.188 MB / 0.7136 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 7.88e-05/0.006467, allocations: 114.6 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.006497, allocations: 12.58 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.006521, allocations: 4 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.006524, allocations: 2.078 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.006527, allocations: 4 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.00653, allocations: 0 / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.00667, allocations: 85.81 kB / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.006672, allocations: 6.438 kB / 0.7635 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.006727, allocations: 7.984 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.00673, allocations: 0 / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.006737, allocations: 3.938 kB / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.00674, allocations: 4 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.006742, allocations: 3.938 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.006867, allocations: 138 kB / 0.7636 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.00688, allocations: 11.92 kB / 0.7636 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.006892, allocations: 3.938 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.006966, allocations: 8 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.007013, allocations: 11.98 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.007018, allocations: 0 / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.825e-05/0.007036, allocations: 12.84 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.007037, allocations: 1.031 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002258/0.007262, allocations: 8 kB / 0.7637 GB, free: 2.711 MB / 0.7136 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.0001082/0.007371, allocations: 81.34 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.119e-05/0.007462, allocations: 27.69 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.007465, allocations: 0 / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.007501, allocations: 20.84 kB / 0.7638 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.007691, allocations: 8 kB / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.00799, allocations: 124.5 kB / 0.7639 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.008029, allocations: 59.34 kB / 0.764 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.613e-05/0.008065, allocations: 7.031 kB / 0.764 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.008137, allocations: 63.36 kB / 0.7641 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/0.008138, allocations: 0 / 0.7641 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of Templates: time 0.003352/0.01149, allocations: 0.9655 MB / 0.765 GB, free: 1.352 MB / 0.7136 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.087851533200592]