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.0009597/0.0009597, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009491/0.0009491, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.008/1.008, allocations: 177.1 MB / 204.6 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.805/1.805, allocations: 359 MB / 0.6055 GB, free: 10.98 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 1.984e-06/1.984e-06, allocations: 0 / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.88e-05, allocations: 4.75 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001306/0.001324, allocations: 0.7174 MB / 0.7878 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008962/0.002221, allocations: 0.875 MB / 0.7887 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.002265, allocations: 0.7812 kB / 0.7887 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.0023, allocations: 3.938 kB / 0.7887 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.688e-05/0.002387, allocations: 8.469 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.002546, allocations: 32.47 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.502e-05/0.002631, allocations: 43.89 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.002736, allocations: 9.406 kB / 0.7888 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.095e-05/0.002827, allocations: 31.92 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.002885, allocations: 19.95 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.002914, allocations: 4 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.002926, allocations: 5.031 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.002948, allocations: 11.94 kB / 0.7888 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.002975, allocations: 13.23 kB / 0.7888 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.003084, allocations: 35.83 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.003089, allocations: 7.984 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.41e-07/0.00309, allocations: 0 / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.003095, allocations: 1.469 kB / 0.7889 GB, free: 10.95 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.0004597/0.003554, allocations: 368.6 kB / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.003598, allocations: 8.031 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.003649, allocations: 21.95 kB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.003765, allocations: 108.6 kB / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.003792, allocations: 4.375 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.003803, allocations: 1.344 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.003956, allocations: 70.92 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.003966, allocations: 5.062 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.003977, allocations: 0 / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.003987, allocations: 0 / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.05e-05/0.004037, allocations: 21.56 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.004401, allocations: 283.6 kB / 0.7897 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.905e-05/0.0045, allocations: 54.97 kB / 0.7898 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/0.004532, allocations: 13.03 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.004546, allocations: 4 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.00457, allocations: 37.42 kB / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.004571, allocations: 2.938 kB / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.000178/0.004749, allocations: 57.62 kB / 0.7899 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.004784, allocations: 51.41 kB / 0.7899 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.004885, allocations: 177.9 kB / 0.7901 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.004896, allocations: 25.7 kB / 0.7901 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.004952, allocations: 138.9 kB / 0.7903 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.00497, allocations: 3.953 kB / 0.7903 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.005006, allocations: 28.03 kB / 0.7903 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.005128, allocations: 0.4884 MB / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.00515, allocations: 5.656 kB / 0.7908 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/0.005173, allocations: 4 kB / 0.7908 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.165e-05/0.005225, allocations: 27.61 kB / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.005228, allocations: 3.938 kB / 0.7908 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.662e-05/0.005304, allocations: 55.39 kB / 0.7909 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.005318, allocations: 8 kB / 0.7909 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.005323, allocations: 0 / 0.7909 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.005337, allocations: 0 / 0.7909 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.005414, allocations: 13.17 kB / 0.7909 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.005419, allocations: 4 kB / 0.7909 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.005445, allocations: 0 / 0.7909 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.00545, allocations: 5.719 kB / 0.7909 GB, free: 8.691 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 7.044e-05/0.005521, allocations: 160.5 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.005537, allocations: 11.89 kB / 0.7911 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.267e-05/0.00556, allocations: 8 kB / 0.7911 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005562, allocations: 0.875 kB / 0.7911 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.005565, allocations: 4 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.005568, allocations: 0.5312 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.005669, allocations: 120.6 kB / 0.7912 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.005671, allocations: 4.656 kB / 0.7912 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.005699, allocations: 7.984 kB / 0.7912 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.005702, allocations: 4.531 kB / 0.7912 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.005709, allocations: 5.312 kB / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.00571, allocations: 0 / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.005712, allocations: 4 kB / 0.7912 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.005828, allocations: 200.8 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.005838, allocations: 15.83 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.00585, allocations: 1.375 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.796e-05/0.005888, allocations: 4 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.005946, allocations: 15.92 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.482e-05/0.006041, allocations: 5.141 kB / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.006084, allocations: 131.2 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006084, allocations: 0 / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001446/0.006229, allocations: 9.156 kB / 0.7916 GB, free: 7.934 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.444e-05/0.006323, allocations: 103.2 kB / 0.7917 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.006448, allocations: 32.48 kB / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.00645, allocations: 0.9375 kB / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.006481, allocations: 19.62 kB / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.006682, allocations: 18.98 kB / 0.7918 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.006986, allocations: 126.2 kB / 0.7919 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.153e-05/0.007027, allocations: 60.22 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.007066, allocations: 6.031 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.007111, allocations: 16.5 kB / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of SimCode: time 1.253e-06/0.007112, allocations: 0 / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of Templates: time 0.002599/0.009711, allocations: 0.9707 MB / 0.7929 GB, free: 6.57 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.1919710780493915]