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.001372/0.001372, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001716/0.001716, allocations: 167.4 kB / 24.87 MB, free: 8.879 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.957/0.957, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 1.859/1.859, allocations: 359 MB / 0.6063 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] 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.705e-06/2.705e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.152e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001544/0.001576, allocations: 0.717 MB / 0.789 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009353/0.002511, allocations: 0.8754 MB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.002552, allocations: 0 / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.002584, allocations: 3.938 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.17e-05/0.002676, allocations: 13.61 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.002816, allocations: 27.91 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.822e-05/0.002894, allocations: 47.84 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.002989, allocations: 8 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.003072, allocations: 23.92 kB / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.003134, allocations: 24.8 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.003153, allocations: 4 kB / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-06/0.003163, allocations: 4.656 kB / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.003186, allocations: 19.92 kB / 0.79 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.003204, allocations: 5.375 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.435e-05/0.003298, allocations: 39.81 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.003301, allocations: 4 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.041e-06/0.003302, allocations: 1.312 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.003308, allocations: 0 / 0.7901 GB, free: 10.37 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.0003894/0.003697, allocations: 376.6 kB / 0.7905 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.003739, allocations: 8.031 kB / 0.7905 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.00378, allocations: 9.953 kB / 0.7905 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.003887, allocations: 112.6 kB / 0.7906 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.003906, allocations: 1.75 kB / 0.7906 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.003916, allocations: 4.375 kB / 0.7906 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.004046, allocations: 66.92 kB / 0.7907 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004054, allocations: 5.531 kB / 0.7907 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.004064, allocations: 3.984 kB / 0.7907 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.004068, allocations: 0 / 0.7907 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.028e-05/0.004098, allocations: 11.98 kB / 0.7907 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.004393, allocations: 274.9 kB / 0.7909 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.734e-05/0.00447, allocations: 39.05 kB / 0.791 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.004491, allocations: 19.66 kB / 0.791 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.004503, allocations: 4 kB / 0.791 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.004523, allocations: 33.39 kB / 0.791 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.004524, allocations: 0 / 0.791 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001449/0.004669, allocations: 62.38 kB / 0.7911 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.004699, allocations: 53.06 kB / 0.7911 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.00478, allocations: 169.9 kB / 0.7913 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.004791, allocations: 25.7 kB / 0.7913 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.004838, allocations: 126.9 kB / 0.7914 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.004858, allocations: 19.88 kB / 0.7915 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.004889, allocations: 24.42 kB / 0.7915 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.005004, allocations: 496.1 kB / 0.792 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.005021, allocations: 9.578 kB / 0.792 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.327e-05/0.005034, allocations: 4 kB / 0.792 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/0.005072, allocations: 23.67 kB / 0.792 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005073, allocations: 0 / 0.792 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00035/0.005423, allocations: 59.52 kB / 0.7921 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.005438, allocations: 5.875 kB / 0.7921 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.005443, allocations: 0 / 0.7921 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.005452, allocations: 4 kB / 0.7921 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.005521, allocations: 7.984 kB / 0.7921 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.005524, allocations: 0.5938 kB / 0.7921 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.005551, allocations: 8.531 kB / 0.7921 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.005555, allocations: 0 / 0.7921 GB, free: 8.16 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 6.377e-05/0.005619, allocations: 157.3 kB / 0.7922 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.005639, allocations: 12.42 kB / 0.7922 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.005662, allocations: 17.45 kB / 0.7923 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.005664, allocations: 0 / 0.7923 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.005666, allocations: 0 / 0.7923 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.00567, allocations: 0 / 0.7923 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.896e-05/0.005769, allocations: 109.2 kB / 0.7924 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.00577, allocations: 0.8594 kB / 0.7924 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.005804, allocations: 13.31 kB / 0.7924 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005805, allocations: 0 / 0.7924 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.005811, allocations: 3.938 kB / 0.7924 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.005812, allocations: 5.141 kB / 0.7924 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005813, allocations: 0 / 0.7924 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.005927, allocations: 199.9 kB / 0.7926 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-06/0.005936, allocations: 9.266 kB / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.005946, allocations: 3.938 kB / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.005986, allocations: 7.984 kB / 0.7926 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.006027, allocations: 11.98 kB / 0.7926 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.006031, allocations: 1.75 kB / 0.7926 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.765e-05/0.006069, allocations: 131.5 kB / 0.7927 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.006069, allocations: 0 / 0.7927 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001345/0.006203, allocations: 11.94 kB / 0.7927 GB, free: 7.43 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 9.17e-05/0.006295, allocations: 104.5 kB / 0.7928 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.263e-05/0.006368, allocations: 23.67 kB / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006369, allocations: 0.5938 kB / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.0064, allocations: 24.27 kB / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.006577, allocations: 5.844 kB / 0.7929 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.006825, allocations: 146.1 kB / 0.793 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.006855, allocations: 51.36 kB / 0.7931 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.554e-05/0.006881, allocations: 8.344 kB / 0.7931 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.006938, allocations: 78.19 kB / 0.7932 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.006939, allocations: 0 / 0.7932 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of Templates: time 0.002448/0.009387, allocations: 1.061 MB / 0.7942 GB, free: 5.914 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.110987651627511]