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.0009922/0.0009922, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001038/0.001038, allocations: 173 kB / 23.03 MB, free: 1.547 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.9332/0.9332, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.025/2.025, allocations: 429.5 MB / 0.6732 GB, free: 4.023 MB / 0.6355 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.563e-06/1.563e-06, allocations: 0 / 0.8782 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.584e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001245/0.001261, allocations: 0.83 MB / 0.8791 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.002159, allocations: 0.9355 MB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.002231, allocations: 4.5 kB / 0.88 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.002332, allocations: 15.02 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.099e-05/0.002363, allocations: 13.41 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.002516, allocations: 35.84 kB / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.605e-05/0.002602, allocations: 79.7 kB / 0.8801 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.002687, allocations: 21.27 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.002808, allocations: 51.89 kB / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.002859, allocations: 19.91 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.002874, allocations: 13.03 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.278e-05/0.002907, allocations: 8 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.00292, allocations: 11.94 kB / 0.8802 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.002944, allocations: 20.62 kB / 0.8802 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.607e-05/0.00304, allocations: 52.36 kB / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.003041, allocations: 0 / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/0.003043, allocations: 7.672 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003046, allocations: 3.938 kB / 0.8803 GB, free: 4.141 MB / 0.8386 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.0003419/0.003388, allocations: 404.3 kB / 0.8807 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.003419, allocations: 8.031 kB / 0.8807 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.00353, allocations: 20.88 kB / 0.8807 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.003673, allocations: 147.1 kB / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.003681, allocations: 4.312 kB / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.00369, allocations: 10.09 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.003791, allocations: 62.94 kB / 0.8809 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.003797, allocations: 192 / 0.8809 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.003805, allocations: 384 / 0.8809 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.00381, allocations: 384 / 0.8809 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.399e-05/0.003844, allocations: 16.86 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.004133, allocations: 308.7 kB / 0.8812 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.84e-05/0.004212, allocations: 43.08 kB / 0.8813 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.004231, allocations: 17.28 kB / 0.8813 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.00424, allocations: 0 / 0.8813 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.004261, allocations: 41.39 kB / 0.8813 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.004262, allocations: 0 / 0.8813 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001238/0.004386, allocations: 48.23 kB / 0.8814 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.004412, allocations: 59.39 kB / 0.8814 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.004492, allocations: 189.9 kB / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.004506, allocations: 25.7 kB / 0.8817 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.004554, allocations: 146.8 kB / 0.8818 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.004568, allocations: 7.953 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.004596, allocations: 23.31 kB / 0.8818 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.004704, allocations: 0.4943 MB / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.00472, allocations: 4 kB / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.195e-05/0.004732, allocations: 4 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.98e-05/0.004762, allocations: 19.67 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.004763, allocations: 0 / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.039e-05/0.004824, allocations: 62.3 kB / 0.8824 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.004834, allocations: 4 kB / 0.8824 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.004838, allocations: 1.656 kB / 0.8824 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.004848, allocations: 0 / 0.8824 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-05/0.004893, allocations: 7.938 kB / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.004897, allocations: 3.938 kB / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.004923, allocations: 9.078 kB / 0.8824 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.004928, allocations: 0 / 0.8824 GB, free: 1.785 MB / 0.8386 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 6.122e-05/0.004989, allocations: 164.6 kB / 0.8826 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.005006, allocations: 12.22 kB / 0.8826 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.005026, allocations: 8.344 kB / 0.8826 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005027, allocations: 4 kB / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.005031, allocations: 3.984 kB / 0.8826 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005033, allocations: 0 / 0.8826 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.429e-05/0.005128, allocations: 132.6 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005129, allocations: 0 / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.005142, allocations: 0 / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.005145, allocations: 7.938 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.005152, allocations: 3.984 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005153, allocations: 4 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005154, allocations: 0 / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.034e-05/0.005244, allocations: 195.8 kB / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.005256, allocations: 11.89 kB / 0.8829 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.00527, allocations: 0 / 0.8829 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.666e-05/0.005307, allocations: 7.984 kB / 0.8829 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.005344, allocations: 11.98 kB / 0.883 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.005347, allocations: 0 / 0.883 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.36e-05/0.00539, allocations: 141.5 kB / 0.8831 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00539, allocations: 0 / 0.8831 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001369/0.005527, allocations: 11.94 kB / 0.8831 GB, free: 1.012 MB / 0.8386 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 6.285e-05/0.00559, allocations: 103.2 kB / 0.8832 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.155e-05/0.005682, allocations: 27.67 kB / 0.8832 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.005683, allocations: 0 / 0.8832 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.966e-05/0.005703, allocations: 15.62 kB / 0.8832 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.00587, allocations: 12 kB / 0.8833 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.006266, allocations: 182 kB / 0.8834 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.324e-05/0.006299, allocations: 55.36 kB / 0.8835 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.006324, allocations: 7.984 kB / 0.8835 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.006354, allocations: 12.5 kB / 0.8835 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/0.006354, allocations: 0 / 0.8835 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of Templates: time 0.002458/0.008812, allocations: 0.9864 MB / 0.8845 GB, free: 15.57 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.274708166252822]