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.001435/0.001435, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.001659/0.001659, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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 1.514/1.514, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 2.752/2.752, allocations: 359 MB / 0.6048 GB, free: 10.92 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.276e-06/3.276e-06, allocations: 0 / 0.7864 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.782e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00222/0.002258, allocations: 0.8063 MB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.003725, allocations: 0.9141 MB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.736e-05/0.003822, allocations: 4.688 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.003954, allocations: 11.88 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.003998, allocations: 8.625 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.004208, allocations: 28.52 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.004353, allocations: 84.95 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.004461, allocations: 16 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.004655, allocations: 55.75 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.036e-05/0.004736, allocations: 25.55 kB / 0.7883 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.004758, allocations: 4 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.607e-05/0.004804, allocations: 8 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.004832, allocations: 19.91 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.004874, allocations: 17.16 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.005062, allocations: 79.73 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.005068, allocations: 3.984 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005069, allocations: 0.625 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.005074, allocations: 0 / 0.7885 GB, free: 10.64 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.0008326/0.005907, allocations: 315.4 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.00595, allocations: 8.031 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.006151, allocations: 21.72 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.006467, allocations: 158.1 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.006478, allocations: 1.062 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.006505, allocations: 5.281 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.006682, allocations: 62.84 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.00669, allocations: 192 / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.006701, allocations: 1.031 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.006706, allocations: 1.969 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.006837, allocations: 43.84 kB / 0.7891 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.007353, allocations: 249.5 kB / 0.7893 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.007557, allocations: 49.88 kB / 0.7893 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.43e-05/0.007621, allocations: 20.94 kB / 0.7894 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.00764, allocations: 4 kB / 0.7894 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.007674, allocations: 30.56 kB / 0.7894 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.007675, allocations: 0 / 0.7894 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0003114/0.007987, allocations: 73.67 kB / 0.7895 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.00804, allocations: 59.33 kB / 0.7895 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.00819, allocations: 136.2 kB / 0.7897 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.00822, allocations: 29.7 kB / 0.7897 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.008302, allocations: 93.8 kB / 0.7898 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.008331, allocations: 15.81 kB / 0.7898 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.008377, allocations: 17.72 kB / 0.7898 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.008566, allocations: 322.8 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.197e-05/0.008627, allocations: 13.16 kB / 0.7901 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.076e-05/0.008678, allocations: 15.98 kB / 0.7901 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.678e-05/0.008775, allocations: 25.78 kB / 0.7902 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.008777, allocations: 0 / 0.7902 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001822/0.008959, allocations: 83.06 kB / 0.7902 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.008976, allocations: 6.344 kB / 0.7903 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.008983, allocations: 0 / 0.7903 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/0.009013, allocations: 4 kB / 0.7903 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.787e-05/0.009081, allocations: 1.344 kB / 0.7903 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.009088, allocations: 0 / 0.7903 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.037e-05/0.009168, allocations: 15.94 kB / 0.7903 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.009175, allocations: 0.5625 kB / 0.7903 GB, free: 8.645 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 0.0001352/0.009311, allocations: 114.4 kB / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.009349, allocations: 9.344 kB / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.009389, allocations: 16.66 kB / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009391, allocations: 0 / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.009396, allocations: 0 / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.009405, allocations: 4.516 kB / 0.7904 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.009597, allocations: 129.2 kB / 0.7905 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.009599, allocations: 1.625 kB / 0.7905 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.009652, allocations: 11.94 kB / 0.7906 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.009655, allocations: 0 / 0.7906 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.009663, allocations: 0 / 0.7906 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009665, allocations: 0.9688 kB / 0.7906 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.009666, allocations: 4 kB / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.009904, allocations: 156 kB / 0.7907 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.009929, allocations: 16.41 kB / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.009948, allocations: 0 / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.01006, allocations: 13.08 kB / 0.7907 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.01011, allocations: 7.984 kB / 0.7907 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.01012, allocations: 0.5938 kB / 0.7907 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001132/0.01023, allocations: 103.8 kB / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01023, allocations: 0 / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00024/0.01047, allocations: 17.27 kB / 0.7909 GB, free: 8 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.0001616/0.01063, allocations: 99.23 kB / 0.791 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.01081, allocations: 36.73 kB / 0.791 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01081, allocations: 0.9375 kB / 0.791 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.125e-05/0.01087, allocations: 15.98 kB / 0.791 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.01115, allocations: 9.344 kB / 0.791 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/0.01163, allocations: 172.1 kB / 0.7912 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.3e-05/0.01172, allocations: 80.5 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.965e-05/0.01176, allocations: 4 kB / 0.7913 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.01181, allocations: 16.48 kB / 0.7913 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.01181, allocations: 4 kB / 0.7913 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of Templates: time 0.004076/0.01588, allocations: 0.925 MB / 0.7922 GB, free: 6.641 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.858800361980684]