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.001157/0.001157, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001082/0.001082, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9614/0.9614, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.811/1.811, allocations: 359 MB / 0.6052 GB, free: 11.02 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.064e-06/2.064e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.314e-05, allocations: 2.969 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001904/0.001927, allocations: 0.8186 MB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.002972, allocations: 0.9417 MB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.422e-05/0.003066, allocations: 4 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.003209, allocations: 8.719 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/0.003247, allocations: 12.88 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.003459, allocations: 35.84 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.003575, allocations: 72.56 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.003681, allocations: 23.97 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.003825, allocations: 46.97 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.003892, allocations: 27.89 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.003911, allocations: 8 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.091e-05/0.003952, allocations: 8 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.003967, allocations: 11.94 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.003995, allocations: 23.91 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.004118, allocations: 59.69 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.00412, allocations: 0 / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004121, allocations: 1.156 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.004126, allocations: 0 / 0.7892 GB, free: 10.32 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.0003944/0.00452, allocations: 400.3 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.004561, allocations: 12.62 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.004683, allocations: 18.05 kB / 0.7896 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.004853, allocations: 148.9 kB / 0.7898 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.004862, allocations: 4.375 kB / 0.7898 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.004873, allocations: 10.09 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.004993, allocations: 66.88 kB / 0.7898 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.005, allocations: 192 / 0.7898 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.00501, allocations: 384 / 0.7898 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.005017, allocations: 1.906 kB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.005057, allocations: 23.86 kB / 0.7899 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.005378, allocations: 303.6 kB / 0.7902 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.299e-05/0.005471, allocations: 40.48 kB / 0.7902 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.005493, allocations: 15.69 kB / 0.7902 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.005507, allocations: 8.031 kB / 0.7902 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.005527, allocations: 43.72 kB / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.005528, allocations: 0 / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001448/0.005673, allocations: 45.64 kB / 0.7903 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.005699, allocations: 55.41 kB / 0.7904 GB, free: 9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.005787, allocations: 188.1 kB / 0.7905 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.005802, allocations: 29.7 kB / 0.7906 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.005858, allocations: 147.3 kB / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.005873, allocations: 8.672 kB / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.005901, allocations: 19.38 kB / 0.7907 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.006015, allocations: 0.4928 MB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.00603, allocations: 3.938 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.006044, allocations: 13.53 kB / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.434e-05/0.006079, allocations: 23.67 kB / 0.7913 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.006081, allocations: 0 / 0.7913 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.171e-05/0.006143, allocations: 53.62 kB / 0.7913 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.006155, allocations: 4.625 kB / 0.7913 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006159, allocations: 0 / 0.7913 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.00617, allocations: 0.7812 kB / 0.7913 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.787e-05/0.006217, allocations: 4 kB / 0.7913 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.006222, allocations: 0.5938 kB / 0.7913 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.00625, allocations: 16.47 kB / 0.7913 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.006255, allocations: 0.6875 kB / 0.7913 GB, free: 7.953 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 6.868e-05/0.006323, allocations: 162 kB / 0.7915 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.00634, allocations: 11.89 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.006368, allocations: 8.344 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.00637, allocations: 336 / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.006375, allocations: 5.125 kB / 0.7915 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006378, allocations: 3.984 kB / 0.7915 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.006479, allocations: 128.6 kB / 0.7916 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.00648, allocations: 0.7188 kB / 0.7916 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.006496, allocations: 7.984 kB / 0.7916 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.006499, allocations: 4.562 kB / 0.7917 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.006506, allocations: 0.8438 kB / 0.7917 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006506, allocations: 4 kB / 0.7917 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006507, allocations: 0 / 0.7917 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.006609, allocations: 197.8 kB / 0.7918 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.00662, allocations: 7.938 kB / 0.7919 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.006636, allocations: 0 / 0.7919 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.694e-05/0.006673, allocations: 7.984 kB / 0.7919 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.006715, allocations: 11.98 kB / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.006718, allocations: 0.6875 kB / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.006771, allocations: 145.7 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.006771, allocations: 2.406 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001391/0.00691, 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 6.985e-05/0.00698, allocations: 99.25 kB / 0.7921 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.398e-05/0.007064, allocations: 23.67 kB / 0.7921 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.007065, allocations: 5.812 kB / 0.7922 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.295e-05/0.007088, allocations: 15.62 kB / 0.7922 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.007268, allocations: 16 kB / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.007701, allocations: 182.8 kB / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.007934, allocations: 61.06 kB / 0.7924 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.679e-05/0.007961, allocations: 4 kB / 0.7924 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.007991, allocations: 12.5 kB / 0.7924 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.007992, allocations: 1.094 kB / 0.7924 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of Templates: time 0.002632/0.01062, allocations: 0.9842 MB / 0.7934 GB, free: 5.758 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.116471691057086]