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.001014/0.001014, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001034/0.001034, allocations: 181.3 kB / 23.36 MB, free: 1.133 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.963/0.963, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.448/2.448, allocations: 438.8 MB / 0.6827 GB, free: 13.65 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 2.685e-06/2.685e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.159e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002291/0.002323, allocations: 0.7121 MB / 0.8393 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.003653, allocations: 0.8781 MB / 0.8402 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.003711, allocations: 0 / 0.8402 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.00375, allocations: 3.938 kB / 0.8402 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.00386, allocations: 11.88 kB / 0.8402 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.004062, allocations: 23.91 kB / 0.8402 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.004172, allocations: 47.91 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.004273, allocations: 11.98 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.004388, allocations: 23.92 kB / 0.8403 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.004459, allocations: 23.95 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.004488, allocations: 11.94 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.004501, allocations: 4 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.004528, allocations: 7.938 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.00456, allocations: 11.98 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.004685, allocations: 39.83 kB / 0.8404 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.004689, allocations: 0 / 0.8404 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.623e-06/0.00469, allocations: 0 / 0.8404 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.004695, allocations: 0 / 0.8404 GB, free: 12.44 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.0007249/0.00542, allocations: 252.8 kB / 0.8406 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.00546, allocations: 12.03 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.005497, allocations: 4.938 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.005599, allocations: 109.8 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.005622, allocations: 4.375 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.005637, allocations: 4.375 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.005793, allocations: 74.84 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.005806, allocations: 7.922 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.005815, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.005822, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.253e-05/0.005864, allocations: 15.97 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.006202, allocations: 168.3 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.006303, allocations: 46.48 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.006327, allocations: 8.859 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.006343, allocations: 3.938 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.006367, allocations: 30.56 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.006369, allocations: 0 / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001718/0.006541, allocations: 49.69 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.006582, allocations: 63.27 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.727e-05/0.006659, allocations: 114.7 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.006672, allocations: 25.7 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.006716, allocations: 88.12 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.006741, allocations: 15.89 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.006777, allocations: 17.72 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.006869, allocations: 314.8 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/0.006887, allocations: 4 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.848e-05/0.006906, allocations: 4 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/0.006949, allocations: 20.83 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.006953, allocations: 4 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.728e-05/0.00704, allocations: 57.55 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.007056, allocations: 8 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.007062, allocations: 0 / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.007075, allocations: 0 / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.007165, allocations: 8 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.007167, allocations: 0 / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.815e-05/0.007206, allocations: 7.984 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.007211, allocations: 0 / 0.8418 GB, free: 10.77 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 6.949e-05/0.007281, allocations: 109.8 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.007307, allocations: 7.938 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.007333, allocations: 11.98 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.007338, allocations: 8 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.007343, allocations: 336 / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.007347, allocations: 0 / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.007489, allocations: 73.88 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.00749, allocations: 0 / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.007548, allocations: 8 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.007552, allocations: 3.984 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.007562, allocations: 7.922 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007563, allocations: 0 / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.007565, allocations: 0 / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.00769, allocations: 139.5 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.007705, allocations: 15.83 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.007721, allocations: 11.94 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.007796, allocations: 3.984 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.007848, allocations: 11.98 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.007852, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.262e-05/0.007875, allocations: 16.84 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007875, allocations: 0 / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003371/0.008212, allocations: 4 kB / 0.8423 GB, free: 10.29 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 0.0001423/0.008354, allocations: 76.42 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.301e-05/0.008447, allocations: 32.78 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.008451, allocations: 0 / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.738e-05/0.008488, allocations: 16.86 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.00874, allocations: 7.984 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.009062, allocations: 132.5 kB / 0.8425 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.938e-05/0.009102, allocations: 55.34 kB / 0.8426 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.14e-05/0.009143, allocations: 8 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.23e-05/0.009215, allocations: 59.38 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of SimCode: time 1.072e-06/0.009216, allocations: 0 / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of Templates: time 0.003384/0.0126, allocations: 0.976 MB / 0.8436 GB, free: 8.887 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 -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.418625946156681]