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.001376/0.001376, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001542/0.001542, allocations: 174 kB / 22.46 MB, free: 5.355 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.572/1.572, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.941/2.941, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] 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 3.186e-06/3.186e-06, allocations: 0 / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.405e-05/3.724e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001929/0.001967, allocations: 0.6981 MB / 0.9821 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.003082, allocations: 0.8548 MB / 0.983 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.003128, allocations: 0 / 0.983 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.003158, allocations: 3.938 kB / 0.983 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.699e-05/0.003235, allocations: 3.938 kB / 0.983 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.003394, allocations: 23.97 kB / 0.983 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.146e-05/0.003486, allocations: 47.84 kB / 0.983 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.00359, allocations: 19.94 kB / 0.9831 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.003679, allocations: 31.89 kB / 0.9831 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.003739, allocations: 19.92 kB / 0.9831 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.003761, allocations: 4 kB / 0.9831 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.003774, allocations: 4 kB / 0.9831 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.003797, allocations: 11.98 kB / 0.9831 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.003829, allocations: 15.92 kB / 0.9831 GB, free: 9.152 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.003939, allocations: 51.84 kB / 0.9832 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.003943, allocations: 3.984 kB / 0.9832 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003944, allocations: 0 / 0.9832 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003948, allocations: 4 kB / 0.9832 GB, free: 9.094 MB / 0.8887 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.0005203/0.004468, allocations: 278.2 kB / 0.9835 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.004509, allocations: 12.03 kB / 0.9835 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.00454, allocations: 0.9375 kB / 0.9835 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.004689, allocations: 121.7 kB / 0.9836 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.004706, allocations: 4.375 kB / 0.9836 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.004721, allocations: 384 / 0.9836 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.004928, allocations: 70.16 kB / 0.9837 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.004941, allocations: 11.92 kB / 0.9837 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.004952, allocations: 4 kB / 0.9837 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.004956, allocations: 0 / 0.9837 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.00517, allocations: 59.88 kB / 0.9837 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.005581, allocations: 220.5 kB / 0.9839 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.005793, allocations: 70.41 kB / 0.984 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.0059, allocations: 28.92 kB / 0.984 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.005919, allocations: 0 / 0.984 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.005946, allocations: 34.56 kB / 0.9841 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.005947, allocations: 0 / 0.9841 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004195/0.006367, allocations: 109.6 kB / 0.9842 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.006409, allocations: 55.34 kB / 0.9842 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.13e-05/0.0065, allocations: 109.8 kB / 0.9843 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.006518, allocations: 25.7 kB / 0.9844 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.006578, allocations: 92.16 kB / 0.9844 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.006597, allocations: 11.89 kB / 0.9845 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.006642, allocations: 25.7 kB / 0.9845 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.00677, allocations: 314.8 kB / 0.9848 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.006875, allocations: 23.97 kB / 0.9848 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-05/0.006974, allocations: 23.98 kB / 0.9848 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.007165, allocations: 48.81 kB / 0.9849 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.007169, allocations: 3.938 kB / 0.9849 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002481/0.007417, allocations: 97.53 kB / 0.985 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.007433, allocations: 4 kB / 0.985 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.007437, allocations: 0 / 0.985 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.007451, allocations: 0 / 0.985 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.007567, allocations: 11.98 kB / 0.985 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.007573, allocations: 0 / 0.985 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/0.007649, allocations: 11.98 kB / 0.985 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.007656, allocations: 0 / 0.985 GB, free: 7.074 MB / 0.8887 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.007757, allocations: 117.8 kB / 0.9851 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.007782, allocations: 7.938 kB / 0.9851 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.007807, allocations: 8 kB / 0.9851 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.007811, allocations: 3.984 kB / 0.9851 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.007816, allocations: 0 / 0.9851 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007819, allocations: 336 / 0.9851 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.007975, allocations: 117.2 kB / 0.9852 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.007977, allocations: 3.938 kB / 0.9852 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.58e-05/0.008063, allocations: 11.98 kB / 0.9853 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.008067, allocations: 3.984 kB / 0.9853 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.008078, allocations: 4 kB / 0.9853 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.008079, allocations: 4 kB / 0.9853 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.00808, allocations: 320 / 0.9853 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.008397, allocations: 183.4 kB / 0.9854 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.299e-05/0.00841, allocations: 7.938 kB / 0.9855 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.008425, allocations: 0 / 0.9855 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.008528, allocations: 11.98 kB / 0.9855 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.008594, allocations: 11.98 kB / 0.9855 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.008599, allocations: 0 / 0.9855 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 5.566e-05/0.008654, allocations: 95.25 kB / 0.9856 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.008655, allocations: 4 kB / 0.9856 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002148/0.008869, allocations: 8 kB / 0.9856 GB, free: 6.422 MB / 0.8887 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.0001198/0.008989, allocations: 95.25 kB / 0.9857 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.00924, allocations: 59.88 kB / 0.9857 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009242, allocations: 0 / 0.9857 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.009355, allocations: 27.97 kB / 0.9857 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.009661, allocations: 17.81 kB / 0.9858 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.01001, allocations: 124.8 kB / 0.9859 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.961e-05/0.01008, allocations: 75.28 kB / 0.986 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 3.744e-05/0.01012, allocations: 4 kB / 0.986 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.01016, allocations: 12.5 kB / 0.986 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of SimCode: time 4.31e-07/0.01017, allocations: 8 kB / 0.986 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of Templates: time 0.003473/0.01364, allocations: 0.9472 MB / 0.9869 GB, free: 5.02 MB / 0.8887 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: 8.395247738808393]