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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 111.9 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 184.7 kB / 20.02 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 222.9 MB / 245.7 MB, free: 4.344 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.96/2.96, allocations: 489.3 MB / 0.7687 GB, free: 3.809 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002262/0.002262, allocations: 71.89 kB / 1.103 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001806/1.006, allocations: 0.7073 MB / 1.263 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009172/1.007, allocations: 0.8283 MB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/1.007, allocations: 0.8125 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/1.007, allocations: 4.641 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.786e-05/1.007, allocations: 6.156 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/1.007, allocations: 31.14 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.082e-05/1.007, allocations: 48.03 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/1.007, allocations: 12.58 kB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.564e-05/1.008, allocations: 22.08 kB / 1.264 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/1.008, allocations: 25.47 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/1.008, allocations: 8.266 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/1.008, allocations: 4.219 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/1.008, allocations: 12.56 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/1.008, allocations: 21.98 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/1.008, allocations: 50.73 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.008, allocations: 0 / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/1.008, allocations: 0 / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.849e-06/1.008, allocations: 0.9062 kB / 1.264 GB, free: 6.828 MB / 0.9981 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.000464/1.008, allocations: 358.3 kB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.008, allocations: 9.062 kB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/1.008, allocations: 11.86 kB / 1.265 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.167e-05/1.009, allocations: 168.5 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/1.009, allocations: 9.875 kB / 1.265 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/1.009, allocations: 11.5 kB / 1.265 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/1.009, allocations: 68.2 kB / 1.265 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.009, allocations: 0 / 1.265 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/1.009, allocations: 0.8125 kB / 1.265 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/1.009, allocations: 1.312 kB / 1.265 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/1.009, allocations: 48.17 kB / 1.265 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/1.009, allocations: 301.3 kB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/1.01, allocations: 61.7 kB / 1.265 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/1.01, allocations: 29.27 kB / 1.265 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/1.01, allocations: 0.6875 kB / 1.265 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/1.01, allocations: 39.92 kB / 1.265 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/1.01, allocations: 0.7188 kB / 1.265 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004334/1.01, allocations: 105.2 kB / 1.265 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/1.01, allocations: 52.91 kB / 1.266 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/1.01, allocations: 114.6 kB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/1.01, allocations: 25.7 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/1.01, allocations: 87.3 kB / 1.266 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/1.01, allocations: 15.2 kB / 1.266 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/1.011, allocations: 19.05 kB / 1.266 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.97e-05/1.011, allocations: 318 kB / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/1.011, allocations: 22.34 kB / 1.266 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/1.011, allocations: 27.66 kB / 1.266 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/1.011, allocations: 58 kB / 1.266 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.011, allocations: 0 / 1.266 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002502/1.011, allocations: 87.45 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.011, allocations: 5.156 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.011, allocations: 0.75 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.011, allocations: 1.703 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/1.011, allocations: 10.83 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/1.011, allocations: 0.75 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.039e-05/1.012, allocations: 13.19 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/1.012, allocations: 1.375 kB / 1.266 GB, free: 5.027 MB / 0.9981 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 5.7e-05/1.012, allocations: 117 kB / 1.266 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/1.012, allocations: 6.766 kB / 1.266 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/1.012, allocations: 9.438 kB / 1.266 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.012, allocations: 0.75 kB / 1.266 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.012, allocations: 1.25 kB / 1.266 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.012, allocations: 3.984 kB / 1.266 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/1.012, allocations: 179.2 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.012, allocations: 0 / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-05/1.012, allocations: 16.31 kB / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/1.012, allocations: 0.875 kB / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.012, allocations: 5.484 kB / 1.267 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.012, allocations: 0 / 1.267 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.012, allocations: 4.781 kB / 1.267 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/1.012, allocations: 183.9 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/1.012, allocations: 82.56 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/1.012, allocations: 5.766 kB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/1.012, allocations: 8.141 kB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/1.013, allocations: 11.7 kB / 1.267 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/1.013, allocations: 1.719 kB / 1.267 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.924e-05/1.013, allocations: 83.69 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.013, allocations: 0 / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000224/1.013, allocations: 18.78 kB / 1.267 GB, free: 4.328 MB / 0.9981 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.0001083/1.013, allocations: 97.84 kB / 1.267 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002758/1.013, allocations: 57.69 kB / 1.267 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.013, allocations: 0 / 1.267 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/1.013, allocations: 35.47 kB / 1.267 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/1.014, allocations: 5.984 kB / 1.267 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/1.014, allocations: 162.2 kB / 1.267 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/1.014, allocations: 0.681 MB / 1.268 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/1.014, allocations: 16.97 kB / 1.268 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.014, allocations: 3.938 kB / 1.268 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of Templates: time 0.002528/1.017, allocations: 0.8157 MB / 1.269 GB, free: 3.305 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.594360328046605]