Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001039/0.001039, allocations: 80.81 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.001675/0.001675, 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 1.031/1.031, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.493/2.493, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.707e-06/3.707e-06, allocations: 4 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.825e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002192/0.002221, allocations: 0.7636 MB / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.003359, allocations: 0.8741 MB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.003401, allocations: 4 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.003434, allocations: 7.938 kB / 0.8403 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.003577, allocations: 3.938 kB / 0.8403 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.003725, allocations: 23.86 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.762e-05/0.003813, allocations: 47.91 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.0039, allocations: 11.97 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.3e-05/0.003993, allocations: 27.92 kB / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.004052, allocations: 15.98 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.004074, allocations: 4 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-06/0.004084, allocations: 4 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.004107, allocations: 15.91 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.00413, allocations: 15.98 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.004232, allocations: 39.83 kB / 0.8405 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004235, allocations: 0 / 0.8405 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004236, allocations: 3.938 kB / 0.8405 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.004239, allocations: 0 / 0.8405 GB, free: 12.31 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.000345/0.004584, allocations: 252.9 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.00462, allocations: 8.031 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.004653, allocations: 8.922 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/0.004749, allocations: 105.8 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.004767, allocations: 384 / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.004779, allocations: 12.38 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.004917, allocations: 66.91 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.004927, allocations: 3.938 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.004937, allocations: 4 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.004943, allocations: 0 / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.713e-05/0.00498, allocations: 11.94 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.005269, allocations: 176.2 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.302e-05/0.005352, allocations: 38.55 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.005375, allocations: 12.84 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.005389, allocations: 7.938 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.005415, allocations: 34.56 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.005416, allocations: 3.938 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001375/0.005553, allocations: 41.69 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.005586, allocations: 59.41 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.514e-05/0.005661, allocations: 114.8 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.005672, allocations: 25.7 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.005718, allocations: 92.06 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.005739, allocations: 11.89 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.005776, allocations: 21.72 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.005869, allocations: 318.8 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/0.00589, allocations: 4 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.005906, allocations: 4 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.005954, allocations: 24.78 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.005956, allocations: 0 / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.345e-05/0.00604, allocations: 45.62 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.006053, allocations: 4 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.006057, allocations: 0 / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.00607, allocations: 0 / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.006156, allocations: 15.98 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.006159, allocations: 0 / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.62e-05/0.006195, allocations: 7.984 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.006201, allocations: 0 / 0.8419 GB, free: 10.64 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,intGreThr.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 0.000197/0.006398, allocations: 117.8 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.006422, allocations: 3.938 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.006443, allocations: 8 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.006445, allocations: 0 / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.006447, allocations: 0 / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.00645, allocations: 3.984 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.006578, allocations: 77.89 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.00658, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.006632, allocations: 11.98 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006634, allocations: 0 / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.006641, allocations: 3.938 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.006642, allocations: 0 / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.006645, allocations: 7.984 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.006758, allocations: 131.9 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.006769, allocations: 11.89 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.00678, allocations: 3.938 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.006851, allocations: 19.92 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.006898, allocations: 16.02 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.006903, allocations: 4 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.667e-05/0.00692, allocations: 16.78 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.00692, allocations: 0 / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001994/0.007119, allocations: 8 kB / 0.8424 GB, free: 10.16 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 (intGreThr.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 9.747e-05/0.007217, allocations: 80.41 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.216e-05/0.007299, allocations: 20.84 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.007302, allocations: 0 / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.423e-05/0.007336, allocations: 24.8 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.007582, allocations: 10.17 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.007859, allocations: 128.5 kB / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.947e-05/0.007899, allocations: 59.34 kB / 0.8427 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.786e-05/0.007937, allocations: 8 kB / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.008008, allocations: 55.38 kB / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of SimCode: time 8.62e-07/0.008009, allocations: 0 / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of Templates: time 0.003036/0.01104, allocations: 0.9654 MB / 0.8437 GB, free: 8.766 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.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.403233188204467]