Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0009614/0.0009614, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001017/0.001017, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.003/1.003, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.85/1.85, allocations: 359 MB / 0.6052 GB, free: 11.05 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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 0.7871 GB, free: 11.4 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.623e-05/3.904e-05, allocations: 8.984 kB / 0.7871 GB, free: 11.39 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002458/0.002497, allocations: 0.7163 MB / 0.7878 GB, free: 10.69 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.003756, allocations: 0.882 MB / 0.7887 GB, free: 9.797 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.003801, allocations: 0.9062 kB / 0.7887 GB, free: 9.797 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.003841, allocations: 3.938 kB / 0.7887 GB, free: 9.793 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.713e-05/0.003928, allocations: 8.812 kB / 0.7887 GB, free: 9.785 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.004139, allocations: 27.89 kB / 0.7887 GB, free: 9.758 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.004249, allocations: 41.05 kB / 0.7887 GB, free: 9.719 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.004407, allocations: 11.98 kB / 0.7888 GB, free: 9.707 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.00452, allocations: 27.92 kB / 0.7888 GB, free: 9.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.004598, allocations: 24.8 kB / 0.7888 GB, free: 9.656 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.004625, allocations: 7.938 kB / 0.7888 GB, free: 9.648 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.004638, allocations: 4.75 kB / 0.7888 GB, free: 9.645 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.004665, allocations: 11.94 kB / 0.7888 GB, free: 9.633 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.004699, allocations: 8.797 kB / 0.7888 GB, free: 9.625 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.004833, allocations: 35.89 kB / 0.7889 GB, free: 9.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.004837, allocations: 0.5 kB / 0.7889 GB, free: 9.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.293e-06/0.004838, allocations: 0 / 0.7889 GB, free: 9.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.004846, allocations: 1.5 kB / 0.7889 GB, free: 9.59 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.0005543/0.0054, allocations: 380.1 kB / 0.7892 GB, free: 9.184 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.005455, allocations: 8.031 kB / 0.7892 GB, free: 9.176 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.005518, allocations: 17.97 kB / 0.7893 GB, free: 9.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.005656, allocations: 108.6 kB / 0.7894 GB, free: 9.027 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.005683, allocations: 384 / 0.7894 GB, free: 9.027 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.005703, allocations: 5 kB / 0.7894 GB, free: 9.023 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.005912, allocations: 72.27 kB / 0.7894 GB, free: 8.945 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.005927, allocations: 3.938 kB / 0.7894 GB, free: 8.941 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.005941, allocations: 4 kB / 0.7894 GB, free: 8.938 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.005952, allocations: 4 kB / 0.7895 GB, free: 8.934 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.058e-05/0.006022, allocations: 13.05 kB / 0.7895 GB, free: 8.922 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.006519, allocations: 279.7 kB / 0.7897 GB, free: 8.613 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.006661, allocations: 59.91 kB / 0.7898 GB, free: 8.543 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.006703, allocations: 11.72 kB / 0.7898 GB, free: 8.527 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.006727, allocations: 1.156 kB / 0.7898 GB, free: 8.527 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.006758, allocations: 37.39 kB / 0.7898 GB, free: 8.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.00676, allocations: 0 / 0.7898 GB, free: 8.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002564/0.007016, allocations: 62.91 kB / 0.7899 GB, free: 8.414 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.007057, allocations: 55.41 kB / 0.7899 GB, free: 8.348 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.00717, allocations: 171.5 kB / 0.7901 GB, free: 8.164 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.007187, allocations: 25.7 kB / 0.7901 GB, free: 8.133 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.007266, allocations: 146.7 kB / 0.7903 GB, free: 7.984 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.007291, allocations: 7.938 kB / 0.7903 GB, free: 7.977 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.007345, allocations: 23.38 kB / 0.7903 GB, free: 7.945 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.007504, allocations: 493.5 kB / 0.7908 GB, free: 7.453 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.007546, allocations: 11.98 kB / 0.7908 GB, free: 7.441 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.507e-05/0.007571, allocations: 4 kB / 0.7908 GB, free: 7.438 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.893e-05/0.00764, allocations: 26.58 kB / 0.7908 GB, free: 7.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.007646, allocations: 3.938 kB / 0.7908 GB, free: 7.406 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001414/0.007787, allocations: 57.58 kB / 0.7909 GB, free: 7.344 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.007815, allocations: 4 kB / 0.7909 GB, free: 7.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.007823, allocations: 4 kB / 0.7909 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.322e-05/0.007857, allocations: 4 kB / 0.7909 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.007986, allocations: 11.98 kB / 0.7909 GB, free: 7.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.007993, allocations: 0.7188 kB / 0.7909 GB, free: 7.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.008035, allocations: 5.656 kB / 0.7909 GB, free: 7.316 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.008044, allocations: 4 kB / 0.7909 GB, free: 7.312 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,intGreEquThr.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.0001071/0.008151, allocations: 156.5 kB / 0.7911 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.008188, allocations: 4 kB / 0.7911 GB, free: 7.145 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.008235, allocations: 13.17 kB / 0.7911 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.008238, allocations: 0 / 0.7911 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.008243, allocations: 0 / 0.7911 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.008247, allocations: 0 / 0.7911 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.008414, allocations: 130.4 kB / 0.7912 GB, free: 6.973 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.008418, allocations: 7.938 kB / 0.7912 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.008487, allocations: 11.98 kB / 0.7912 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.00849, allocations: 0 / 0.7912 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.0085, allocations: 1.188 kB / 0.7912 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.008502, allocations: 4 kB / 0.7912 GB, free: 6.949 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.008504, allocations: 3.938 kB / 0.7912 GB, free: 6.945 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.008682, allocations: 193.6 kB / 0.7914 GB, free: 6.738 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.008696, allocations: 16.25 kB / 0.7914 GB, free: 6.723 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.00871, allocations: 0 / 0.7914 GB, free: 6.723 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.00879, allocations: 4 kB / 0.7914 GB, free: 6.719 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.008852, allocations: 9.734 kB / 0.7914 GB, free: 6.711 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.008858, allocations: 7.984 kB / 0.7914 GB, free: 6.703 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.231e-05/0.008911, allocations: 135.1 kB / 0.7916 GB, free: 6.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.008911, allocations: 0 / 0.7916 GB, free: 6.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002559/0.009167, allocations: 8 kB / 0.7916 GB, free: 6.562 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 (intGreEquThr.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.0001161/0.009283, allocations: 96.09 kB / 0.7917 GB, free: 6.457 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.009409, allocations: 32.14 kB / 0.7917 GB, free: 6.422 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.009411, allocations: 0.7188 kB / 0.7917 GB, free: 6.422 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-05/0.009456, allocations: 24.2 kB / 0.7917 GB, free: 6.395 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.009758, allocations: 21.17 kB / 0.7917 GB, free: 6.375 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.01014, allocations: 126.3 kB / 0.7919 GB, free: 6.223 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.039e-05/0.01019, allocations: 63.88 kB / 0.7919 GB, free: 6.141 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.714e-05/0.01023, allocations: 6.531 kB / 0.7919 GB, free: 6.137 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.01028, allocations: 12.5 kB / 0.7919 GB, free: 6.125 MB / 0.698 GB Notification: Performance of SimCode: time 7.61e-07/0.01028, allocations: 0 / 0.7919 GB, free: 6.125 MB / 0.698 GB Notification: Performance of Templates: time 0.003577/0.01386, allocations: 0.9717 MB / 0.7929 GB, free: 5.191 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.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.250964908860624]