Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001033/0.001033, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001217/0.001217, allocations: 169 kB / 23.27 MB, free: 1.223 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.956/0.956, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.323/2.323, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8898 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.257e-05, allocations: 9.344 kB / 0.8898 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001806/0.001829, allocations: 0.8232 MB / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.003, allocations: 0.921 MB / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.099e-05/0.003091, allocations: 3.938 kB / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.003226, allocations: 15.81 kB / 0.8915 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.399e-05/0.00327, allocations: 15.86 kB / 0.8916 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.003462, allocations: 31.84 kB / 0.8916 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.003569, allocations: 79.77 kB / 0.8917 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.003675, allocations: 19.98 kB / 0.8917 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.003825, allocations: 47.89 kB / 0.8917 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.00389, allocations: 19.92 kB / 0.8917 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.003907, allocations: 4 kB / 0.8918 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.698e-05/0.003954, allocations: 8 kB / 0.8918 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.003972, allocations: 19.92 kB / 0.8918 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.003996, allocations: 15.92 kB / 0.8918 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.00412, allocations: 59.69 kB / 0.8919 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004122, allocations: 4 kB / 0.8919 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004123, allocations: 4 kB / 0.8919 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.004127, allocations: 0 / 0.8919 GB, free: 7.578 MB / 0.8542 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.0004139/0.004541, allocations: 404.3 kB / 0.8922 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.004581, allocations: 8.031 kB / 0.8923 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.004706, allocations: 24.88 kB / 0.8923 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.004864, allocations: 148.4 kB / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.004876, allocations: 8.375 kB / 0.8924 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.004885, allocations: 384 / 0.8924 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.004994, allocations: 70.88 kB / 0.8925 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005002, allocations: 4.172 kB / 0.8925 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.005011, allocations: 4.375 kB / 0.8925 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.005017, allocations: 4.375 kB / 0.8925 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.691e-05/0.005054, allocations: 7.938 kB / 0.8925 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.005373, allocations: 276.2 kB / 0.8928 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.537e-05/0.005458, allocations: 39.03 kB / 0.8928 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/0.005476, allocations: 11.75 kB / 0.8928 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.005491, allocations: 3.938 kB / 0.8928 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.005517, allocations: 49.42 kB / 0.8929 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.005518, allocations: 3.938 kB / 0.8929 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001415/0.00566, allocations: 49.72 kB / 0.8929 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.005686, allocations: 51.41 kB / 0.893 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.005789, allocations: 192.1 kB / 0.8932 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.005805, allocations: 25.7 kB / 0.8932 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.00587, allocations: 150.8 kB / 0.8933 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.005886, allocations: 7.953 kB / 0.8933 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.005922, allocations: 19.38 kB / 0.8934 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.006062, allocations: 0.4884 MB / 0.8938 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.006078, allocations: 8 kB / 0.8938 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.006092, allocations: 4 kB / 0.8938 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.507e-05/0.006127, allocations: 23.61 kB / 0.8939 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.006128, allocations: 0 / 0.8939 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.459e-05/0.006202, allocations: 53.58 kB / 0.8939 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.006214, allocations: 4 kB / 0.8939 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.006219, allocations: 0 / 0.8939 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.00623, allocations: 0 / 0.8939 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.618e-05/0.006276, allocations: 4 kB / 0.8939 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.006279, allocations: 0 / 0.8939 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.006316, allocations: 7.984 kB / 0.8939 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.006323, allocations: 8 kB / 0.8939 GB, free: 5.246 MB / 0.8542 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.981e-05/0.006403, allocations: 164.5 kB / 0.8941 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.00643, allocations: 11.89 kB / 0.8941 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.006459, allocations: 8.344 kB / 0.8941 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.00646, allocations: 0 / 0.8941 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.006461, allocations: 0 / 0.8941 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.006464, allocations: 4 kB / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.006594, allocations: 105.2 kB / 0.8942 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006595, allocations: 0 / 0.8942 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.00662, allocations: 7.984 kB / 0.8942 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.006622, allocations: 4.328 kB / 0.8942 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.006628, allocations: 4 kB / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.00663, allocations: 3.938 kB / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.006633, allocations: 4 kB / 0.8942 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.006751, allocations: 199.8 kB / 0.8944 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.006762, allocations: 7.953 kB / 0.8944 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.00678, allocations: 7.984 kB / 0.8944 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.006846, allocations: 11.94 kB / 0.8945 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.006888, allocations: 11.92 kB / 0.8945 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.006891, allocations: 0 / 0.8945 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.006951, allocations: 149.3 kB / 0.8946 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.006951, allocations: 0 / 0.8946 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000237/0.007188, allocations: 15.94 kB / 0.8946 GB, free: 4.477 MB / 0.8542 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.187e-05/0.00727, allocations: 95.25 kB / 0.8947 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.107e-05/0.007341, allocations: 19.67 kB / 0.8947 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.007342, allocations: 0 / 0.8947 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.642e-05/0.007369, allocations: 19.62 kB / 0.8948 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.007624, allocations: 11.98 kB / 0.8948 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.008058, allocations: 170 kB / 0.8949 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.312e-05/0.008101, allocations: 59.34 kB / 0.895 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.00813, allocations: 4 kB / 0.895 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.008199, allocations: 82.19 kB / 0.8951 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of SimCode: time 3.11e-07/0.0082, allocations: 0 / 0.8951 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of Templates: time 0.002923/0.01112, allocations: 1.016 MB / 0.8961 GB, free: 2.961 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.166067203972489]