Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.0014/0.0014, 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.001356/0.001356, 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 0.9952/0.9952, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.8/1.8, allocations: 359 MB / 0.6055 GB, free: 11 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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.486e-05, allocations: 3.672 kB / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001481/0.001506, allocations: 0.8263 MB / 0.788 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.002488, allocations: 0.9292 MB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.002598, allocations: 3.938 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.002733, allocations: 20.7 kB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.348e-05/0.002766, allocations: 8.625 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.002984, allocations: 32.59 kB / 0.7889 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.003091, allocations: 83.7 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.003206, allocations: 20.55 kB / 0.789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.003343, allocations: 43.89 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.003405, allocations: 21.17 kB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.003423, allocations: 4 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.301e-05/0.003466, allocations: 12 kB / 0.7891 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.003484, allocations: 21.38 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.003513, allocations: 15.92 kB / 0.7892 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.003649, allocations: 55.7 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003652, allocations: 0 / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003652, allocations: 5.219 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.003658, allocations: 0 / 0.7892 GB, free: 10.63 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004699/0.004127, allocations: 401 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.004169, allocations: 8.031 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.004318, allocations: 26.28 kB / 0.7896 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.004508, allocations: 148.4 kB / 0.7898 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.004519, allocations: 5.312 kB / 0.7898 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.004533, allocations: 8.375 kB / 0.7898 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.004654, allocations: 67.72 kB / 0.7899 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.00466, allocations: 192 / 0.7899 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.004672, allocations: 1.375 kB / 0.7899 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.00468, allocations: 4.375 kB / 0.7899 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.95e-05/0.004729, allocations: 23.86 kB / 0.7899 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.005111, allocations: 301.8 kB / 0.7902 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.323e-05/0.005204, allocations: 39.05 kB / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.00523, allocations: 19.69 kB / 0.7902 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.005242, allocations: 0 / 0.7902 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.005265, allocations: 34.98 kB / 0.7903 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.005266, allocations: 96 / 0.7903 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001632/0.005429, allocations: 57.67 kB / 0.7903 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.005462, allocations: 51.41 kB / 0.7904 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.005569, allocations: 193.1 kB / 0.7905 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.005587, allocations: 29.7 kB / 0.7906 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.005653, allocations: 142.8 kB / 0.7907 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.005676, allocations: 11.02 kB / 0.7907 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.00571, allocations: 27.36 kB / 0.7907 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.005823, allocations: 492.1 kB / 0.7912 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.005844, allocations: 15.92 kB / 0.7912 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.468e-05/0.005859, allocations: 4 kB / 0.7912 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.005892, allocations: 15.62 kB / 0.7912 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005894, allocations: 0 / 0.7912 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.056e-05/0.005965, allocations: 53.95 kB / 0.7913 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.005979, allocations: 4.719 kB / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.005984, allocations: 4 kB / 0.7913 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.005996, allocations: 0.5312 kB / 0.7913 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.138e-05/0.006047, allocations: 5.234 kB / 0.7913 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.006052, allocations: 4 kB / 0.7913 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.006078, allocations: 7.953 kB / 0.7913 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.006083, allocations: 4.531 kB / 0.7913 GB, free: 8.27 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: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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.309e-05/0.006156, allocations: 161.9 kB / 0.7915 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.006177, allocations: 15.83 kB / 0.7915 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.006199, allocations: 12.34 kB / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.006201, allocations: 0 / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.006205, allocations: 1.156 kB / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006208, allocations: 0 / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.006313, allocations: 132.6 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006314, allocations: 1.031 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.46e-05/0.006328, allocations: 4 kB / 0.7916 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.006331, allocations: 5.688 kB / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.006337, allocations: 0 / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.006338, allocations: 0 / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006339, allocations: 0 / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.006448, allocations: 203.9 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.006458, allocations: 5.156 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.006479, allocations: 8 kB / 0.7919 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.76e-05/0.006517, allocations: 4 kB / 0.7919 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.006567, allocations: 15.34 kB / 0.7919 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.006571, allocations: 4 kB / 0.7919 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.413e-05/0.006635, allocations: 141.4 kB / 0.792 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006635, allocations: 0 / 0.792 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000148/0.006783, allocations: 19.89 kB / 0.792 GB, free: 7.492 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 8.363e-05/0.006867, allocations: 95.25 kB / 0.7921 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.213e-05/0.006959, allocations: 19.67 kB / 0.7921 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.006962, allocations: 7.938 kB / 0.7921 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.542e-05/0.006987, allocations: 20.17 kB / 0.7922 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.007194, allocations: 9 kB / 0.7922 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.007717, allocations: 179.3 kB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.604e-05/0.007753, allocations: 63.34 kB / 0.7924 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.00778, allocations: 2.25 kB / 0.7924 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.007815, allocations: 16.48 kB / 0.7924 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of SimCode: time 1.362e-06/0.007816, allocations: 0 / 0.7924 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of Templates: time 0.002543/0.01036, allocations: 0.9238 MB / 0.7933 GB, free: 6.148 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_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.089097333839163]