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.001553/0.001553, 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.001927/0.001927, allocations: 161 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 0.9529/0.9529, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.901/1.901, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 177] 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 3.827e-06/3.827e-06, allocations: 0 / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.845e-05/4.228e-05, allocations: 4.844 kB / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002899/0.002941, allocations: 0.8265 MB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.004531, allocations: 0.9298 MB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.004682, allocations: 7.938 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.00487, allocations: 13.72 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.726e-05/0.004937, allocations: 15.86 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.005279, allocations: 27.91 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.005418, allocations: 80.45 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.005546, allocations: 19.98 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.005707, allocations: 48.64 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.037e-05/0.005787, allocations: 27.91 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.005809, allocations: 5.219 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.92e-05/0.005858, allocations: 8 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.005875, allocations: 11.92 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.005906, allocations: 21.34 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.006058, allocations: 55.73 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.006062, allocations: 0 / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/0.006063, allocations: 0 / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.006068, allocations: 1.062 kB / 0.7892 GB, free: 10.33 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.000448/0.006516, allocations: 408.3 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.006555, allocations: 9.562 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.006692, allocations: 16.89 kB / 0.7896 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.006876, allocations: 149 kB / 0.7898 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.006886, allocations: 4.375 kB / 0.7898 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.006898, allocations: 6.031 kB / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.007019, allocations: 62.94 kB / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.007028, allocations: 4.188 kB / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.007039, allocations: 4.375 kB / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.007047, allocations: 5 kB / 0.7899 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.007091, allocations: 23.8 kB / 0.7899 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.007478, allocations: 300.5 kB / 0.7902 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.946e-05/0.007577, allocations: 48.73 kB / 0.7902 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.007602, allocations: 15.7 kB / 0.7902 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.007621, allocations: 4 kB / 0.7902 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.007644, allocations: 35.14 kB / 0.7903 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.007645, allocations: 0 / 0.7903 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001712/0.007816, allocations: 57.52 kB / 0.7903 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.007847, allocations: 55.41 kB / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.007951, allocations: 187.6 kB / 0.7905 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.007968, allocations: 32.2 kB / 0.7906 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.00803, allocations: 150.8 kB / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.008046, allocations: 3.953 kB / 0.7907 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.008078, allocations: 23.38 kB / 0.7908 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.008195, allocations: 0.4923 MB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.008217, allocations: 4 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.008234, allocations: 8.516 kB / 0.7912 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.008272, allocations: 15.69 kB / 0.7913 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.008274, allocations: 0.7188 kB / 0.7913 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.571e-05/0.00835, allocations: 53.56 kB / 0.7913 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.008365, allocations: 6.406 kB / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008369, allocations: 1.594 kB / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.008385, allocations: 0 / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.008455, allocations: 8 kB / 0.7913 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.008462, allocations: 0 / 0.7913 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.008491, allocations: 12.47 kB / 0.7913 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.008498, allocations: 5.312 kB / 0.7913 GB, free: 7.961 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.63e-05/0.008575, allocations: 152.6 kB / 0.7915 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.008594, allocations: 11.89 kB / 0.7915 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.008625, allocations: 17.48 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.008627, allocations: 0 / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.008631, allocations: 0 / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.008633, allocations: 1.375 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.008746, allocations: 128.6 kB / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.008748, allocations: 3.984 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.00877, allocations: 4 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.008773, allocations: 5.688 kB / 0.7917 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.00878, allocations: 0 / 0.7917 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008781, allocations: 3.938 kB / 0.7917 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.008782, allocations: 0 / 0.7917 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.008914, allocations: 195.9 kB / 0.7918 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.439e-05/0.008928, allocations: 13.05 kB / 0.7919 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.008949, allocations: 4 kB / 0.7919 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.213e-05/0.008991, allocations: 9.625 kB / 0.7919 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.009037, allocations: 7.984 kB / 0.7919 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.009041, allocations: 3.984 kB / 0.7919 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.757e-05/0.009098, allocations: 151.2 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009099, allocations: 0.875 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001589/0.009257, allocations: 15.89 kB / 0.792 GB, free: 7.184 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 0.0001178/0.009375, allocations: 98.72 kB / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.009479, allocations: 27.61 kB / 0.7922 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.009481, allocations: 0 / 0.7922 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.628e-05/0.009507, allocations: 15.69 kB / 0.7922 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.009737, allocations: 11.98 kB / 0.7922 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.01031, allocations: 180.2 kB / 0.7924 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.76e-05/0.01035, allocations: 59.34 kB / 0.7924 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.01038, allocations: 4 kB / 0.7924 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.01041, allocations: 14.66 kB / 0.7924 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.01042, allocations: 0 / 0.7924 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of Templates: time 0.003159/0.01357, allocations: 0.9188 MB / 0.7933 GB, free: 5.84 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.30674017034471]