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.002524/0.002524, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002982/0.002982, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.585/1.585, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.908/2.908, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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 5.55e-06/5.55e-06, allocations: 4 kB / 0.7865 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/3.236e-05, allocations: 5.062 kB / 0.7865 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002123/0.002156, allocations: 0.8123 MB / 0.7872 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.003506, allocations: 0.9141 MB / 0.7881 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.594e-05/0.003582, allocations: 4 kB / 0.7881 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.003723, allocations: 9.281 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.85e-05/0.003772, allocations: 15.86 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.003979, allocations: 32.97 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.004117, allocations: 79.7 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.004231, allocations: 23.92 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.004436, allocations: 49.45 kB / 0.7883 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.399e-05/0.004509, allocations: 19.91 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.004532, allocations: 8 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.449e-05/0.004576, allocations: 14 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.004598, allocations: 11.92 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.004636, allocations: 19.94 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.004804, allocations: 79.73 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.004812, allocations: 3.984 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.11e-07/0.004813, allocations: 0 / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.004818, allocations: 2.156 kB / 0.7885 GB, free: 10.61 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.0006211/0.005439, allocations: 411.9 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.005479, allocations: 12.03 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.005638, allocations: 16.88 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.005882, allocations: 150 kB / 0.7891 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.005898, allocations: 8.312 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.005911, allocations: 4.375 kB / 0.7891 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.006073, allocations: 63.17 kB / 0.7891 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.006083, allocations: 192 / 0.7891 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.006093, allocations: 0.9688 kB / 0.7891 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.006097, allocations: 384 / 0.7891 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.006206, allocations: 33.2 kB / 0.7892 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.00675, allocations: 307.7 kB / 0.7895 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.006919, allocations: 53.61 kB / 0.7895 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.00698, allocations: 31.7 kB / 0.7895 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.007, allocations: 0 / 0.7895 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.007033, allocations: 37.39 kB / 0.7896 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.007034, allocations: 0 / 0.7896 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002722/0.007306, allocations: 70.34 kB / 0.7896 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.007356, allocations: 55.41 kB / 0.7897 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.007647, allocations: 204.8 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.007668, allocations: 27.36 kB / 0.7899 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.007782, allocations: 154.8 kB / 0.7901 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.007803, allocations: 7.953 kB / 0.7901 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.007857, allocations: 23.38 kB / 0.7901 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002724/0.00813, allocations: 0.5 MB / 0.7906 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.675e-05/0.008177, allocations: 12.66 kB / 0.7906 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-05/0.008232, allocations: 17.14 kB / 0.7906 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.226e-05/0.008314, allocations: 31.67 kB / 0.7906 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.008316, allocations: 0 / 0.7906 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001453/0.008461, allocations: 71.02 kB / 0.7907 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.008475, allocations: 4 kB / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.00848, allocations: 1.375 kB / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.008498, allocations: 4.031 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.004e-05/0.008559, allocations: 7.938 kB / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.008563, allocations: 0 / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.008619, allocations: 13.69 kB / 0.7907 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.008631, allocations: 4 kB / 0.7907 GB, free: 8.121 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.0001288/0.00876, allocations: 160.6 kB / 0.7909 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.008792, allocations: 9.219 kB / 0.7909 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.008828, allocations: 12.33 kB / 0.7909 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.008829, allocations: 0 / 0.7909 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.008833, allocations: 0 / 0.7909 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.008836, allocations: 0.8438 kB / 0.7909 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.009031, allocations: 140.6 kB / 0.7911 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.009035, allocations: 4.859 kB / 0.7911 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.009072, allocations: 4 kB / 0.7911 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.009078, allocations: 5.5 kB / 0.7911 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.009096, allocations: 0 / 0.7911 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.0091, allocations: 4 kB / 0.7911 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009101, allocations: 0 / 0.7911 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.00934, allocations: 209 kB / 0.7913 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.009357, allocations: 7.891 kB / 0.7913 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.009379, allocations: 8 kB / 0.7913 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.009459, allocations: 7.156 kB / 0.7913 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.009518, allocations: 7.969 kB / 0.7913 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.00953, allocations: 8 kB / 0.7913 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001071/0.009637, allocations: 149.5 kB / 0.7915 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009637, allocations: 0 / 0.7915 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002208/0.009858, allocations: 15.95 kB / 0.7915 GB, free: 7.324 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.0001433/0.01, allocations: 95.25 kB / 0.7916 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.01017, allocations: 44.09 kB / 0.7916 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01017, allocations: 1.938 kB / 0.7916 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.61e-05/0.01024, allocations: 27.62 kB / 0.7916 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.0105, allocations: 19.86 kB / 0.7916 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.01092, allocations: 178.7 kB / 0.7918 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.539e-05/0.01101, allocations: 76.17 kB / 0.7919 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.01105, allocations: 2.812 kB / 0.7919 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.01109, allocations: 12.5 kB / 0.7919 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.01109, allocations: 0 / 0.7919 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of Templates: time 0.004154/0.01524, allocations: 0.9285 MB / 0.7928 GB, free: 5.922 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","/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: 8.028098380891606]