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.001617/0.001617, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001912/0.001912, allocations: 173 kB / 23.02 MB, free: 1.547 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.9712/0.9712, allocations: 177.1 MB / 203.4 MB, free: 5.566 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.136/2.136, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 7.454e-06/7.454e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.058e-05/5.803e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002047/0.002105, allocations: 0.7277 MB / 0.8789 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.003134, allocations: 0.8804 MB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.003179, allocations: 5.031 kB / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.124e-05/0.00322, allocations: 0 / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.003333, allocations: 6.844 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.003572, allocations: 27.86 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.003675, allocations: 47.84 kB / 0.8798 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.003796, allocations: 19.38 kB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.003901, allocations: 23.98 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.003964, allocations: 15.92 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.003994, allocations: 7.984 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.004005, allocations: 4 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.725e-05/0.004032, allocations: 15.98 kB / 0.8799 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.004061, allocations: 15.92 kB / 0.8799 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.004209, allocations: 27.89 kB / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.004215, allocations: 4 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/0.004217, allocations: 0.5938 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.004223, allocations: 0 / 0.88 GB, free: 4.465 MB / 0.8386 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.0004872/0.00471, allocations: 378.1 kB / 0.8803 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.004767, allocations: 8.031 kB / 0.8803 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.004818, allocations: 4.938 kB / 0.8803 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.00498, allocations: 122 kB / 0.8805 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.005014, allocations: 8.375 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.005029, allocations: 4.312 kB / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.005229, allocations: 66.94 kB / 0.8805 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.005241, allocations: 7.938 kB / 0.8805 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.005253, allocations: 0 / 0.8805 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.005263, allocations: 0 / 0.8805 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.996e-05/0.005313, allocations: 15.98 kB / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.005725, allocations: 279.6 kB / 0.8808 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.00585, allocations: 55.02 kB / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.005885, allocations: 15.72 kB / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.005903, allocations: 4 kB / 0.8809 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.005929, allocations: 33.39 kB / 0.8809 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.005931, allocations: 4 kB / 0.8809 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002145/0.006145, allocations: 69.55 kB / 0.881 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.00618, allocations: 51.41 kB / 0.881 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.006266, allocations: 165.9 kB / 0.8812 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.00628, allocations: 25.7 kB / 0.8812 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.006343, allocations: 134.9 kB / 0.8814 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.006366, allocations: 11.91 kB / 0.8814 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.006404, allocations: 23.36 kB / 0.8814 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.006532, allocations: 0.4884 MB / 0.8819 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.986e-05/0.006562, allocations: 8 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.006583, allocations: 7.984 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.113e-05/0.006644, allocations: 19.69 kB / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.006648, allocations: 3.938 kB / 0.8819 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001185/0.006766, allocations: 57.61 kB / 0.882 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.006791, allocations: 8 kB / 0.882 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.006797, allocations: 4 kB / 0.882 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.006817, allocations: 0 / 0.882 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.006931, allocations: 8 kB / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.006936, allocations: 0 / 0.882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.006964, allocations: 11.94 kB / 0.882 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-06/0.006971, allocations: 4 kB / 0.882 GB, free: 2.184 MB / 0.8386 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 8.014e-05/0.007051, allocations: 160.5 kB / 0.8821 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.007072, allocations: 7.938 kB / 0.8822 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.00711, allocations: 8 kB / 0.8822 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.007114, allocations: 0 / 0.8822 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.007119, allocations: 4 kB / 0.8822 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.007124, allocations: 3.984 kB / 0.8822 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.007248, allocations: 120.6 kB / 0.8823 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.007251, allocations: 3.938 kB / 0.8823 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.00729, allocations: 11.94 kB / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.007293, allocations: 4 kB / 0.8823 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.007304, allocations: 3.984 kB / 0.8823 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.007306, allocations: 0 / 0.8823 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007307, allocations: 0 / 0.8823 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.007444, allocations: 199.9 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.007455, allocations: 11.88 kB / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.007466, allocations: 0 / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.997e-05/0.007506, allocations: 7.984 kB / 0.8825 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.007563, allocations: 11.98 kB / 0.8825 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.007566, allocations: 4 kB / 0.8825 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.007607, allocations: 131.2 kB / 0.8827 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007607, allocations: 4 kB / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001502/0.007758, allocations: 4 kB / 0.8827 GB, free: 1.43 MB / 0.8386 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.892e-05/0.007856, allocations: 99.56 kB / 0.8828 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.00798, allocations: 31.66 kB / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.007982, allocations: 0 / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.00802, allocations: 23.67 kB / 0.8828 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.00825, allocations: 16.62 kB / 0.8828 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.008555, allocations: 130.3 kB / 0.8829 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.008592, allocations: 55.36 kB / 0.883 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.008622, allocations: 7.984 kB / 0.883 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.008664, allocations: 16.5 kB / 0.883 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of SimCode: time 1.042e-06/0.008665, allocations: 4 kB / 0.883 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of Templates: time 0.003224/0.01189, allocations: 1.015 MB / 0.884 GB, free: 15.98 MB / 0.8542 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.629235494881868]