Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008114/0.0008114, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008627/0.0008627, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9192/0.9192, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.765/1.765, allocations: 377.8 MB / 0.6228 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.087e-06/4.087e-06, allocations: 0 / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.538e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001596/0.001632, allocations: 0.694 MB / 0.9829 GB, free: 1.367 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008234/0.002455, allocations: 0.8665 MB / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.002494, allocations: 0 / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.002523, allocations: 3.938 kB / 0.9837 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.288e-05/0.002596, allocations: 7.875 kB / 0.9837 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.002741, allocations: 27.91 kB / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.443e-05/0.002815, allocations: 43.91 kB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.00292, allocations: 7.984 kB / 0.9838 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.002997, allocations: 27.92 kB / 0.9838 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.003051, allocations: 19.97 kB / 0.9839 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.003076, allocations: 4 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.003085, allocations: 11.94 kB / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.003106, allocations: 15.92 kB / 0.9839 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.003128, allocations: 7.984 kB / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.979e-05/0.003228, allocations: 55.84 kB / 0.9839 GB, free: 264 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00323, allocations: 0 / 0.9839 GB, free: 264 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.533e-06/0.003232, allocations: 0 / 0.9839 GB, free: 264 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.003236, allocations: 0 / 0.9839 GB, free: 264 kB / 0.9323 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.0004185/0.003655, allocations: 282.2 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.003691, allocations: 12.03 kB / 0.9842 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.003722, allocations: 8.875 kB / 0.9842 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.442e-05/0.003816, allocations: 113.8 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.003831, allocations: 8.375 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.003841, allocations: 384 / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.003975, allocations: 66.22 kB / 0.9844 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.003984, allocations: 7.875 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.003996, allocations: 0 / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.004, allocations: 0 / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.00411, allocations: 51.95 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.004433, allocations: 236.5 kB / 0.9847 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.004562, allocations: 62.42 kB / 0.9848 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.213e-05/0.004624, allocations: 36.91 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.00464, allocations: 0 / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.004658, allocations: 30.56 kB / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.004659, allocations: 0 / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002661/0.004925, allocations: 113.6 kB / 0.9849 GB, free: 15.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.004955, allocations: 51.41 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.838e-05/0.005024, allocations: 113.8 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.005036, allocations: 25.7 kB / 0.9851 GB, free: 14.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.509e-05/0.005082, allocations: 99.95 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.005098, allocations: 7.953 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.005126, allocations: 17.72 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.005211, allocations: 314.8 kB / 0.9855 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.005265, allocations: 23.98 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.005315, allocations: 31.97 kB / 0.9856 GB, free: 14.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.986e-05/0.005415, allocations: 52.81 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.005418, allocations: 3.938 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001312/0.005549, allocations: 85.61 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.005561, allocations: 6.969 kB / 0.9857 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.005566, allocations: 0 / 0.9857 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.005578, allocations: 3.984 kB / 0.9857 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.526e-05/0.005654, allocations: 19.92 kB / 0.9857 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.005659, allocations: 320 / 0.9857 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.005692, allocations: 8 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.005699, allocations: 3.984 kB / 0.9858 GB, free: 14.23 MB / 0.948 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 6.103e-05/0.00576, allocations: 118.1 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.005772, allocations: 0 / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.877e-05/0.005791, allocations: 7.984 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.005793, allocations: 4 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.005797, allocations: 0 / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.0058, allocations: 4 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.711e-05/0.005897, allocations: 117.3 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.005899, allocations: 3.938 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.005931, allocations: 11.98 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.005933, allocations: 3.984 kB / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.005941, allocations: 4 kB / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.005941, allocations: 0 / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.005944, allocations: 3.984 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.006101, allocations: 179.4 kB / 0.9862 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.006113, allocations: 11.94 kB / 0.9862 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.006123, allocations: 3.938 kB / 0.9862 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.006169, allocations: 7.984 kB / 0.9862 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.006219, allocations: 11.98 kB / 0.9862 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.006222, allocations: 0 / 0.9862 GB, free: 13.69 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.229e-05/0.006255, allocations: 91.27 kB / 0.9863 GB, free: 13.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006255, allocations: 0 / 0.9863 GB, free: 13.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001449/0.0064, allocations: 11.89 kB / 0.9863 GB, free: 13.59 MB / 0.948 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 7.656e-05/0.006476, allocations: 103.2 kB / 0.9864 GB, free: 13.47 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.006631, allocations: 55.95 kB / 0.9865 GB, free: 13.42 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006633, allocations: 3.938 kB / 0.9865 GB, free: 13.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.395e-05/0.006687, allocations: 27.97 kB / 0.9865 GB, free: 13.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.006888, allocations: 11.94 kB / 0.9865 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.007174, allocations: 150.5 kB / 0.9867 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.953e-05/0.007223, allocations: 71.28 kB / 0.9867 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.007261, allocations: 16.48 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/0.007262, allocations: 0 / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of Templates: time 0.001568/0.00883, allocations: 0.8358 MB / 0.9876 GB, free: 12.26 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.78974308911711]