Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002501/0.002501, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.00302/0.00302, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.977/2.977, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0.875 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.832e-05, allocations: 3.219 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001941/0.00197, allocations: 0.7067 MB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.003357, allocations: 0.8632 MB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.003397, allocations: 1.406 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.003424, allocations: 3.938 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.003502, allocations: 7.938 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.003648, allocations: 28.69 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.954e-05/0.003738, allocations: 43.92 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.003835, allocations: 16.53 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.999e-05/0.003925, allocations: 23.92 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.003986, allocations: 21.22 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.004021, allocations: 4 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.004037, allocations: 4 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.004064, allocations: 17.55 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.004096, allocations: 11.98 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.004211, allocations: 47.84 kB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004214, allocations: 0 / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.343e-06/0.004215, allocations: 5.219 kB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.004219, allocations: 0 / 0.7881 GB, free: 10.99 MB / 0.7448 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.0005694/0.004789, allocations: 376.2 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.004828, allocations: 12.66 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.004874, allocations: 8.891 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.005023, allocations: 113.5 kB / 0.7886 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.005044, allocations: 8.375 kB / 0.7886 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.005054, allocations: 1.031 kB / 0.7886 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.00523, allocations: 58.23 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.005242, allocations: 5.531 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.005252, allocations: 4 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.005256, allocations: 0 / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.00541, allocations: 40.88 kB / 0.7887 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.005881, allocations: 287.7 kB / 0.789 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.006072, allocations: 70.31 kB / 0.7891 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.766e-05/0.006159, allocations: 27.72 kB / 0.7891 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.006181, allocations: 4 kB / 0.7891 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.006219, allocations: 37.42 kB / 0.7892 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.00622, allocations: 3.938 kB / 0.7892 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0003439/0.006564, allocations: 85.67 kB / 0.7892 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.006611, allocations: 55.39 kB / 0.7893 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.006762, allocations: 178.6 kB / 0.7895 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.006784, allocations: 25.7 kB / 0.7895 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.006885, allocations: 140.4 kB / 0.7896 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.006906, allocations: 11.95 kB / 0.7896 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.006959, allocations: 27.3 kB / 0.7897 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002661/0.007225, allocations: 0.4884 MB / 0.7901 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.0073, allocations: 17.52 kB / 0.7902 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.007365, allocations: 19.98 kB / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.007507, allocations: 43.89 kB / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.007512, allocations: 5.281 kB / 0.7902 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002138/0.007726, allocations: 85.61 kB / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.007741, allocations: 8 kB / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.007745, allocations: 1.594 kB / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.007758, allocations: 0 / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.007873, allocations: 11.98 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.007878, allocations: 0 / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.007933, allocations: 5 kB / 0.7903 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.00794, allocations: 0 / 0.7903 GB, free: 8.566 MB / 0.7448 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.0001353/0.008075, allocations: 173 kB / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.008102, allocations: 0 / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.008137, allocations: 8.531 kB / 0.7905 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.00814, allocations: 1.031 kB / 0.7905 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.008143, allocations: 0 / 0.7905 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.008146, allocations: 0 / 0.7905 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.008329, allocations: 133.2 kB / 0.7906 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.008334, allocations: 3.938 kB / 0.7906 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.008409, allocations: 8.516 kB / 0.7906 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008411, allocations: 1.375 kB / 0.7906 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.008425, allocations: 8 kB / 0.7906 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.008426, allocations: 0 / 0.7906 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008427, allocations: 0 / 0.7906 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.008731, allocations: 217.1 kB / 0.7909 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.008747, allocations: 11.89 kB / 0.7909 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.008764, allocations: 4.938 kB / 0.7909 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.00885, allocations: 7.938 kB / 0.7909 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.008913, allocations: 12.8 kB / 0.7909 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.008923, allocations: 3.984 kB / 0.7909 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.608e-05/0.009009, allocations: 131.2 kB / 0.791 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009009, allocations: 0.9375 kB / 0.791 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002674/0.009277, allocations: 4 kB / 0.791 GB, free: 7.793 MB / 0.7448 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.0001294/0.009406, allocations: 104.5 kB / 0.7911 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.009623, allocations: 52.62 kB / 0.7912 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009624, allocations: 0 / 0.7912 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.00974, allocations: 47.59 kB / 0.7912 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.009994, allocations: 10.25 kB / 0.7912 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.01037, allocations: 136.3 kB / 0.7914 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.689e-05/0.01044, allocations: 67.34 kB / 0.7914 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.01048, allocations: 3.438 kB / 0.7914 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.01054, allocations: 20.5 kB / 0.7914 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01054, allocations: 0 / 0.7914 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of Templates: time 0.004031/0.01457, allocations: 0.9844 MB / 0.7924 GB, free: 6.355 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.089839161024429]