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.00143/0.00143, allocations: 88.39 kB / 20.23 MB, free: 4.168 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.001681/0.001681, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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.468/1.468, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.775/2.775, allocations: 359 MB / 0.6048 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 177] 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 2.024e-06/2.024e-06, allocations: 0 / 0.7864 GB, free: 11.64 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.088e-05, allocations: 7.234 kB / 0.7864 GB, free: 11.63 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002015/0.002046, allocations: 0.7035 MB / 0.7871 GB, free: 10.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.00343, allocations: 0.8555 MB / 0.7879 GB, free: 10.08 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.003475, allocations: 8.656 kB / 0.7879 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.003504, allocations: 0 / 0.7879 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.622e-05/0.00359, allocations: 8.75 kB / 0.7879 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.003753, allocations: 19.92 kB / 0.7879 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.896e-05/0.003852, allocations: 44.75 kB / 0.788 GB, free: 10 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.003968, allocations: 19.91 kB / 0.788 GB, free: 9.984 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.004082, allocations: 28.67 kB / 0.788 GB, free: 9.957 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.00415, allocations: 15.98 kB / 0.788 GB, free: 9.941 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.004173, allocations: 4.75 kB / 0.7881 GB, free: 9.938 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.004187, allocations: 4 kB / 0.7881 GB, free: 9.934 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.004212, allocations: 16.47 kB / 0.7881 GB, free: 9.918 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.004246, allocations: 8 kB / 0.7881 GB, free: 9.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.004378, allocations: 56.67 kB / 0.7881 GB, free: 9.855 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00438, allocations: 0 / 0.7881 GB, free: 9.855 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004381, allocations: 0.5625 kB / 0.7881 GB, free: 9.855 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.004385, allocations: 1.25 kB / 0.7881 GB, free: 9.855 MB / 0.698 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.0005925/0.004978, allocations: 282.2 kB / 0.7884 GB, free: 9.551 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.00503, allocations: 8.031 kB / 0.7884 GB, free: 9.543 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/0.005093, allocations: 10.52 kB / 0.7884 GB, free: 9.535 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.005278, allocations: 113.7 kB / 0.7885 GB, free: 9.398 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.005309, allocations: 8.375 kB / 0.7885 GB, free: 9.391 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.005322, allocations: 384 / 0.7885 GB, free: 9.391 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.005599, allocations: 67.44 kB / 0.7886 GB, free: 9.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.005613, allocations: 3.938 kB / 0.7886 GB, free: 9.316 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.005628, allocations: 0 / 0.7886 GB, free: 9.316 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005636, allocations: 0.625 kB / 0.7886 GB, free: 9.316 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.005898, allocations: 57.34 kB / 0.7887 GB, free: 9.262 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.006431, allocations: 232.4 kB / 0.7889 GB, free: 9.004 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.006661, allocations: 67.19 kB / 0.7889 GB, free: 8.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.006776, allocations: 29.8 kB / 0.789 GB, free: 8.898 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.006795, allocations: 0.6562 kB / 0.789 GB, free: 8.898 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.006831, allocations: 38.5 kB / 0.789 GB, free: 8.852 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.006832, allocations: 0.875 kB / 0.789 GB, free: 8.852 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0004806/0.007313, allocations: 116.9 kB / 0.7891 GB, free: 8.734 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.007361, allocations: 51.41 kB / 0.7892 GB, free: 8.672 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.007479, allocations: 105.8 kB / 0.7893 GB, free: 8.559 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.007504, allocations: 25.7 kB / 0.7893 GB, free: 8.527 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.007578, allocations: 92.09 kB / 0.7894 GB, free: 8.434 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.0076, allocations: 7.891 kB / 0.7894 GB, free: 8.426 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.007648, allocations: 21.7 kB / 0.7894 GB, free: 8.398 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.007832, allocations: 318.8 kB / 0.7897 GB, free: 8.078 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.007956, allocations: 24.69 kB / 0.7897 GB, free: 8.055 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.807e-05/0.008054, allocations: 21.64 kB / 0.7898 GB, free: 8.035 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.008255, allocations: 48.81 kB / 0.7898 GB, free: 7.984 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.008259, allocations: 5.281 kB / 0.7898 GB, free: 7.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002676/0.008527, allocations: 95.12 kB / 0.7899 GB, free: 7.883 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.008544, allocations: 8 kB / 0.7899 GB, free: 7.875 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.008549, allocations: 0 / 0.7899 GB, free: 7.875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.008568, allocations: 336 / 0.7899 GB, free: 7.875 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.008696, allocations: 13.55 kB / 0.7899 GB, free: 7.863 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.008702, allocations: 0 / 0.7899 GB, free: 7.863 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.008782, allocations: 7.984 kB / 0.7899 GB, free: 7.855 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.008791, allocations: 4 kB / 0.7899 GB, free: 7.852 MB / 0.698 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.0001193/0.008911, allocations: 118.8 kB / 0.7901 GB, free: 7.727 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.00894, allocations: 4 kB / 0.7901 GB, free: 7.723 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.008965, allocations: 8.531 kB / 0.7901 GB, free: 7.715 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.008971, allocations: 7.984 kB / 0.7901 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.008976, allocations: 0.5312 kB / 0.7901 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.008978, allocations: 1 kB / 0.7901 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.009151, allocations: 113.3 kB / 0.7902 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.009155, allocations: 7.875 kB / 0.7902 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.496e-05/0.00925, allocations: 16.67 kB / 0.7902 GB, free: 7.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.009253, allocations: 0.5312 kB / 0.7902 GB, free: 7.543 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.009265, allocations: 4 kB / 0.7902 GB, free: 7.539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.009267, allocations: 5.312 kB / 0.7902 GB, free: 7.535 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009268, allocations: 0 / 0.7902 GB, free: 7.535 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.009606, allocations: 177.3 kB / 0.7904 GB, free: 7.348 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.009626, allocations: 11.94 kB / 0.7904 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.009641, allocations: 0 / 0.7904 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.009761, allocations: 8.891 kB / 0.7904 GB, free: 7.328 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.00983, allocations: 11.98 kB / 0.7904 GB, free: 7.316 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.009837, allocations: 5.484 kB / 0.7904 GB, free: 7.312 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.104e-05/0.009908, allocations: 91.58 kB / 0.7905 GB, free: 7.223 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009908, allocations: 0 / 0.7905 GB, free: 7.223 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002329/0.01014, allocations: 15.89 kB / 0.7905 GB, free: 7.207 MB / 0.698 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.0001386/0.01028, allocations: 97 kB / 0.7906 GB, free: 7.102 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.01055, allocations: 53.28 kB / 0.7907 GB, free: 7.051 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01055, allocations: 0 / 0.7907 GB, free: 7.051 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.01068, allocations: 35.97 kB / 0.7907 GB, free: 7.016 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.01099, allocations: 11.41 kB / 0.7907 GB, free: 7.008 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.01139, allocations: 138.9 kB / 0.7908 GB, free: 6.848 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.071e-05/0.01147, allocations: 71.22 kB / 0.7909 GB, free: 6.758 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.417e-05/0.01152, allocations: 7.438 kB / 0.7909 GB, free: 6.754 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.01157, allocations: 16.48 kB / 0.7909 GB, free: 6.738 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/0.01157, allocations: 0 / 0.7909 GB, free: 6.738 MB / 0.698 GB Notification: Performance of Templates: time 0.00405/0.01562, allocations: 0.956 MB / 0.7919 GB, free: 5.816 MB / 0.698 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] 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: 7.655250551993959]