Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0009731/0.0009731, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001011/0.001011, allocations: 161 kB / 23.82 MB, free: 0.75 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.9719/0.9719, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.823/1.823, allocations: 359 MB / 0.6052 GB, free: 11.01 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.443e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001303/0.001327, allocations: 0.7173 MB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008174/0.002145, allocations: 0.8781 MB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.568e-05/0.00218, allocations: 0.9062 kB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.00221, allocations: 7.922 kB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.002291, allocations: 8.719 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.002433, allocations: 19.92 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.414e-05/0.002507, allocations: 48.47 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.002604, allocations: 11.98 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.451e-05/0.002689, allocations: 33 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.002739, allocations: 15.98 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.002758, allocations: 4 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.002767, allocations: 4.562 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.002786, allocations: 20.59 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.002811, allocations: 8 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.651e-05/0.002897, allocations: 40.72 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002899, allocations: 0 / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.51e-07/0.0029, allocations: 0 / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.002904, allocations: 0.6562 kB / 0.7889 GB, free: 10.67 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.0003646/0.003268, allocations: 380 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.003307, allocations: 8.031 kB / 0.7892 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.003345, allocations: 8.891 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.263e-05/0.003438, allocations: 112.6 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.003458, allocations: 4.375 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.003471, allocations: 8.312 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.003608, allocations: 66.92 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.003616, allocations: 3.938 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.003626, allocations: 0 / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.003634, allocations: 4.594 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.383e-05/0.003678, allocations: 16.58 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.004005, allocations: 281.3 kB / 0.7897 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.168e-05/0.004096, allocations: 54.95 kB / 0.7898 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.004126, allocations: 19.72 kB / 0.7898 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.004143, allocations: 1.469 kB / 0.7898 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.004164, allocations: 41.39 kB / 0.7898 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.004165, allocations: 0 / 0.7898 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001608/0.004326, allocations: 57.62 kB / 0.7899 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.004352, allocations: 53 kB / 0.79 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/0.004424, allocations: 169.9 kB / 0.7901 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.004435, allocations: 29.69 kB / 0.7901 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.004482, allocations: 134.9 kB / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.004499, allocations: 8.609 kB / 0.7903 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.00453, allocations: 23.36 kB / 0.7903 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.004642, allocations: 0.4902 MB / 0.7908 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.004662, allocations: 4 kB / 0.7908 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.00468, allocations: 11.98 kB / 0.7908 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.022e-05/0.00472, allocations: 19.69 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.004723, allocations: 4.562 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.037e-05/0.004793, allocations: 58.3 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.004806, allocations: 4 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.00481, allocations: 1.531 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.004827, allocations: 7.984 kB / 0.7909 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.491e-05/0.004902, allocations: 4 kB / 0.7909 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.004907, allocations: 0.625 kB / 0.7909 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.004933, allocations: 7.984 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-06/0.004939, allocations: 5.109 kB / 0.7909 GB, free: 8.402 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,intLesEquThr.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.58e-05/0.005004, allocations: 164.8 kB / 0.7911 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.005022, allocations: 8.859 kB / 0.7911 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.005047, allocations: 11.98 kB / 0.7911 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005048, allocations: 0 / 0.7911 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.005052, allocations: 0.5625 kB / 0.7911 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005054, allocations: 1.125 kB / 0.7911 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.572e-05/0.00515, allocations: 124.6 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.005153, allocations: 3.938 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.005179, allocations: 8.781 kB / 0.7912 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005181, allocations: 0 / 0.7912 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.005187, allocations: 5.094 kB / 0.7912 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.005189, allocations: 4 kB / 0.7912 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.005191, allocations: 3.984 kB / 0.7912 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.005293, allocations: 197 kB / 0.7914 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.005304, allocations: 15.83 kB / 0.7914 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.005313, allocations: 0 / 0.7914 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.855e-05/0.005351, allocations: 8.828 kB / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.005399, allocations: 7.984 kB / 0.7914 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.005403, allocations: 6.219 kB / 0.7915 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.005438, allocations: 127.2 kB / 0.7916 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005439, allocations: 0 / 0.7916 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001454/0.005584, allocations: 11.98 kB / 0.7916 GB, free: 7.648 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 (intLesEquThr.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 6.427e-05/0.005648, allocations: 98.03 kB / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.919e-05/0.005737, allocations: 35.55 kB / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005739, allocations: 0 / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.005771, allocations: 23.67 kB / 0.7917 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.005944, allocations: 15.88 kB / 0.7917 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.006199, allocations: 131.7 kB / 0.7919 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.238e-05/0.006232, allocations: 55.36 kB / 0.7919 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.628e-05/0.006258, allocations: 8.969 kB / 0.7919 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.006299, allocations: 21.05 kB / 0.792 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.0063, allocations: 1.375 kB / 0.792 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of Templates: time 0.002282/0.008582, allocations: 0.9747 MB / 0.7929 GB, free: 6.27 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.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.234158318024129]