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.001766/0.001766, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002202/0.002202, allocations: 166 kB / 22.45 MB, free: 5.375 MB / 14.72 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.554/1.554, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.951/2.951, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.896e-06/2.896e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.443e-05, allocations: 2.281 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002285/0.002319, allocations: 0.7073 MB / 1.001 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.003659, allocations: 0.8509 MB / 1.002 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.003718, allocations: 0 / 1.002 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.003748, allocations: 11.88 kB / 1.002 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.003846, allocations: 7.938 kB / 1.002 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.004029, allocations: 27.89 kB / 1.002 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.004133, allocations: 43.92 kB / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.004253, allocations: 11.98 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.004356, allocations: 27.91 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.135e-05/0.004438, allocations: 19.97 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.004463, allocations: 4 kB / 1.002 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.004477, allocations: 7.938 kB / 1.002 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.004503, allocations: 7.938 kB / 1.002 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.004541, allocations: 19.97 kB / 1.002 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.004678, allocations: 47.86 kB / 1.002 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004681, allocations: 0 / 1.002 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.32e-07/0.004681, allocations: 4 kB / 1.002 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.004687, allocations: 0 / 1.002 GB, free: 5.488 MB / 0.9512 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.0006128/0.0053, allocations: 282.2 kB / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.005346, allocations: 8.031 kB / 1.002 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.005398, allocations: 12.89 kB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.005549, allocations: 113.8 kB / 1.002 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.005568, allocations: 384 / 1.002 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.005587, allocations: 12.36 kB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.005828, allocations: 62.22 kB / 1.002 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.005844, allocations: 7.875 kB / 1.002 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.005858, allocations: 4 kB / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.005866, allocations: 4 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.006089, allocations: 43.95 kB / 1.002 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.006594, allocations: 224.5 kB / 1.003 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.00683, allocations: 74.41 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.006947, allocations: 28.91 kB / 1.003 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.006967, allocations: 3.938 kB / 1.003 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.006997, allocations: 34.56 kB / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.006999, allocations: 3.938 kB / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.000468/0.007467, allocations: 109.6 kB / 1.003 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.007519, allocations: 51.41 kB / 1.003 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.00762, allocations: 109.8 kB / 1.003 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.007641, allocations: 25.7 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.007705, allocations: 96.09 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.007733, allocations: 19.88 kB / 1.003 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.007776, allocations: 13.72 kB / 1.003 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.007925, allocations: 322.8 kB / 1.003 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.008034, allocations: 19.98 kB / 1.004 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.707e-05/0.008131, allocations: 23.97 kB / 1.004 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.008339, allocations: 52.81 kB / 1.004 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.008344, allocations: 3.938 kB / 1.004 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002594/0.008604, allocations: 81.66 kB / 1.004 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.008622, allocations: 8 kB / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.008627, allocations: 0 / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.008642, allocations: 0 / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.00877, allocations: 15.92 kB / 1.004 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.008778, allocations: 3.984 kB / 1.004 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.008859, allocations: 12 kB / 1.004 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.008869, allocations: 4 kB / 1.004 GB, free: 3.461 MB / 0.9512 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.0001007/0.00897, allocations: 118.3 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.009002, allocations: 7.953 kB / 1.004 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.009029, allocations: 8 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.009031, allocations: 0 / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.009037, allocations: 0 / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.009039, allocations: 0 / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.009194, allocations: 113.3 kB / 1.004 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.009197, allocations: 3.938 kB / 1.004 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.504e-05/0.009292, allocations: 15.98 kB / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.009295, allocations: 0 / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.009307, allocations: 3.984 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.009308, allocations: 0 / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.009309, allocations: 3.938 kB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.009634, allocations: 183.8 kB / 1.004 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.009649, allocations: 7.891 kB / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.009665, allocations: 0 / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.00978, allocations: 19.98 kB / 1.004 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.009846, allocations: 12.02 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.009853, allocations: 4 kB / 1.004 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.697e-05/0.00991, allocations: 87.2 kB / 1.004 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.00991, allocations: 0 / 1.004 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002491/0.01016, allocations: 15.94 kB / 1.004 GB, free: 2.809 MB / 0.9512 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.0001179/0.01028, allocations: 95.25 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002984/0.01058, allocations: 51.95 kB / 1.004 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.01058, allocations: 7.938 kB / 1.004 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.01071, allocations: 35.97 kB / 1.004 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.01104, allocations: 7.875 kB / 1.004 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.01145, allocations: 128.8 kB / 1.005 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.448e-05/0.01152, allocations: 67.28 kB / 1.005 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.638e-05/0.01157, allocations: 8 kB / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.01162, allocations: 20.48 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/0.01162, allocations: 0 / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of Templates: time 0.004132/0.01575, allocations: 0.952 MB / 1.006 GB, free: 1.398 MB / 0.9512 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.532794207334518]