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.0012/0.0012, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001423/0.001423, allocations: 181 kB / 24.08 MB, free: 424 kB / 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.937/0.937, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.766/1.766, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] 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 2.945e-06/2.945e-06, allocations: 0 / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.182e-05, allocations: 9.422 kB / 0.7876 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001677/0.001709, allocations: 0.8152 MB / 0.7884 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009581/0.002667, allocations: 0.9365 MB / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/0.002748, allocations: 0.5625 kB / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.002865, allocations: 12.94 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.508e-05/0.0029, allocations: 11.88 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.003103, allocations: 33.75 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.00322, allocations: 79.7 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.003345, allocations: 19.98 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.003525, allocations: 51.83 kB / 0.7895 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.003595, allocations: 23.91 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.003613, allocations: 4.688 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.268e-05/0.003665, allocations: 8.812 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.003686, allocations: 15.92 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.003711, allocations: 15.98 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.003855, allocations: 56.97 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.00386, allocations: 0 / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.502e-06/0.003861, allocations: 0 / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.003866, allocations: 1.406 kB / 0.7897 GB, free: 10.02 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.0003781/0.004244, allocations: 408.3 kB / 0.7901 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.004282, allocations: 12.03 kB / 0.7901 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.004405, allocations: 13.95 kB / 0.7901 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.00455, allocations: 159.8 kB / 0.7902 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.00456, allocations: 4.375 kB / 0.7902 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.004567, allocations: 384 / 0.7902 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.285e-05/0.004659, allocations: 62.94 kB / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.004666, allocations: 1.844 kB / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.004673, allocations: 4.359 kB / 0.7903 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.004679, allocations: 4.375 kB / 0.7903 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.715e-05/0.004707, allocations: 11.94 kB / 0.7903 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.004984, allocations: 281.8 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.076e-05/0.005065, allocations: 39.08 kB / 0.7906 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.005082, allocations: 13.5 kB / 0.7906 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.005094, allocations: 0 / 0.7906 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.005117, allocations: 41.33 kB / 0.7907 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.005117, allocations: 0 / 0.7907 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001197/0.005237, allocations: 49.73 kB / 0.7907 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.005262, allocations: 53.91 kB / 0.7908 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.646e-05/0.005348, allocations: 193.8 kB / 0.791 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.005363, allocations: 33.64 kB / 0.791 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.005418, allocations: 142.8 kB / 0.7911 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.005435, allocations: 15.94 kB / 0.7911 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.005464, allocations: 19.38 kB / 0.7912 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.005589, allocations: 0.489 MB / 0.7916 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.005604, allocations: 4 kB / 0.7916 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.245e-05/0.005616, allocations: 9.766 kB / 0.7917 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.142e-05/0.005647, allocations: 11.69 kB / 0.7917 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.005649, allocations: 0 / 0.7917 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.546e-05/0.005715, allocations: 53.62 kB / 0.7917 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.005727, allocations: 6.562 kB / 0.7917 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.005732, allocations: 0 / 0.7917 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.005741, allocations: 1.312 kB / 0.7917 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.985e-05/0.005791, allocations: 11.92 kB / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.005794, allocations: 0 / 0.7917 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.005819, allocations: 13.05 kB / 0.7917 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.005825, allocations: 4 kB / 0.7918 GB, free: 7.703 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.676e-05/0.005901, allocations: 165.9 kB / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.005918, allocations: 11.89 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.005943, allocations: 8.344 kB / 0.7919 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005945, allocations: 0 / 0.7919 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.005948, allocations: 5.75 kB / 0.7919 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.005952, allocations: 0 / 0.7919 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.006062, allocations: 109.2 kB / 0.792 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.006063, allocations: 0 / 0.792 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.006089, allocations: 7.984 kB / 0.792 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.006091, allocations: 0.625 kB / 0.792 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.006095, allocations: 0.9062 kB / 0.792 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.006097, allocations: 3.938 kB / 0.7921 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006098, allocations: 0 / 0.7921 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.006213, allocations: 200.3 kB / 0.7922 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-06/0.006222, allocations: 1.938 kB / 0.7922 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.006236, allocations: 4 kB / 0.7922 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.849e-05/0.006275, allocations: 7.922 kB / 0.7923 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.006308, allocations: 11.98 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.006311, allocations: 0 / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.852e-05/0.00636, allocations: 137.3 kB / 0.7924 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.00636, allocations: 0 / 0.7924 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001387/0.006498, allocations: 15.89 kB / 0.7924 GB, free: 6.973 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.000112/0.00661, allocations: 103.2 kB / 0.7925 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.078e-05/0.006681, allocations: 32.12 kB / 0.7925 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.006683, allocations: 0.7188 kB / 0.7925 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.808e-05/0.006701, allocations: 11.97 kB / 0.7926 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.00689, allocations: 12.53 kB / 0.7926 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.007312, allocations: 175.6 kB / 0.7927 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.007353, allocations: 60.91 kB / 0.7928 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.007382, allocations: 9.25 kB / 0.7928 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.007441, allocations: 82.72 kB / 0.7929 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.007442, allocations: 0 / 0.7929 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of Templates: time 0.002518/0.00996, allocations: 1.012 MB / 0.7939 GB, free: 5.461 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: 4.7858018218539655]