Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001409/0.001409, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00146/0.00146, allocations: 177 kB / 23.36 MB, free: 1.129 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.931/0.931, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.45/2.45, allocations: 438.8 MB / 0.6826 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0.6562 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.646e-05, allocations: 4.984 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001245/0.001261, allocations: 0.7211 MB / 0.8393 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007787/0.00204, allocations: 0.8741 MB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.00207, allocations: 4 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.002096, allocations: 3.938 kB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.002165, allocations: 3.938 kB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.002284, allocations: 27.91 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.57e-05/0.00235, allocations: 51.84 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.952e-05/0.00242, allocations: 11.98 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.257e-05/0.002502, allocations: 23.92 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.002555, allocations: 27.89 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.002575, allocations: 4 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-06/0.002584, allocations: 4 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.0026, allocations: 4 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.002618, allocations: 15.92 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.002725, allocations: 35.89 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.002728, allocations: 4 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.954e-06/0.00273, allocations: 3.984 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.002733, allocations: 0 / 0.8404 GB, free: 12.38 MB / 0.8073 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.0002807/0.003014, allocations: 252.9 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.003044, allocations: 8.922 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.003069, allocations: 4.938 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.213e-05/0.003142, allocations: 105.8 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.003159, allocations: 12.25 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.003171, allocations: 4.375 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.003275, allocations: 66.92 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.003283, allocations: 7.938 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.00329, allocations: 0 / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.003294, allocations: 0 / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.847e-05/0.003322, allocations: 19.95 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.003549, allocations: 168.2 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.118e-05/0.00361, allocations: 42.56 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.003627, allocations: 8.859 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.003638, allocations: 3.938 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.003655, allocations: 38.56 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.003656, allocations: 4 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001054/0.003762, allocations: 57.78 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.003789, allocations: 51.41 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.935e-05/0.003838, allocations: 114.7 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.003847, allocations: 25.7 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.003875, allocations: 88.09 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.003891, allocations: 7.953 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.003917, allocations: 21.69 kB / 0.8414 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.003983, allocations: 314.8 kB / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.003994, allocations: 4 kB / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.705e-05/0.004011, allocations: 8 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.00404, allocations: 24.83 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.004042, allocations: 3.984 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.117e-05/0.004093, allocations: 49.56 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.004103, allocations: 4 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.004106, allocations: 0 / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/0.004115, allocations: 0 / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.379e-05/0.004169, allocations: 8 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.004172, allocations: 3.984 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.004196, allocations: 8 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.004201, allocations: 4 kB / 0.8418 GB, free: 10.71 MB / 0.8073 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,intLesThr.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 4.921e-05/0.00425, allocations: 113.8 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.004263, allocations: 3.938 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.004282, allocations: 15.98 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.004284, allocations: 0 / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.004285, allocations: 0 / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.004288, allocations: 0 / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.399e-05/0.004372, allocations: 69.89 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.004372, allocations: 0 / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.004397, allocations: 12 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.004398, allocations: 0 / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.004405, allocations: 7.922 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.004405, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.004406, allocations: 3.938 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.64e-05/0.004482, allocations: 139.5 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.004493, allocations: 15.89 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-06/0.004501, allocations: 3.938 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.726e-05/0.004539, allocations: 7.984 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.004574, allocations: 7.984 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.004578, allocations: 8 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.097e-05/0.004589, allocations: 12.84 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004589, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001123/0.004701, allocations: 8 kB / 0.8422 GB, free: 10.24 MB / 0.8073 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 (intLesThr.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 5.96e-05/0.004761, allocations: 72.42 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.671e-05/0.004817, allocations: 28.97 kB / 0.8423 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.00482, allocations: 4 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.004843, allocations: 16.94 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.004961, allocations: 11.98 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001953/0.005156, allocations: 132.5 kB / 0.8425 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.019e-05/0.005186, allocations: 59.34 kB / 0.8426 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.00521, allocations: 4 kB / 0.8426 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.005265, allocations: 59.36 kB / 0.8426 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of SimCode: time 3.21e-07/0.005265, allocations: 4 kB / 0.8426 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of Templates: time 0.002216/0.007482, allocations: 0.9689 MB / 0.8436 GB, free: 8.836 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.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.184270219877362]