Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.0009318/0.0009318, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.0009395/0.0009395, allocations: 181 kB / 24.09 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.9752/0.9752, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.736/1.736, allocations: 359 MB / 0.6055 GB, free: 10.9 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.212e-05, allocations: 2.969 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002157/0.00219, allocations: 0.8166 MB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.003436, allocations: 0.9299 MB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.003543, allocations: 7.938 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.00368, allocations: 8.781 kB / 0.7894 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.023e-05/0.003731, allocations: 20.73 kB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.003937, allocations: 27.91 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.004059, allocations: 80.23 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.004182, allocations: 17.14 kB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.004371, allocations: 55.83 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/0.004451, allocations: 15.92 kB / 0.7896 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.004473, allocations: 8.562 kB / 0.7896 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.248e-05/0.004526, allocations: 12.67 kB / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.004546, allocations: 15.92 kB / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.004571, allocations: 12.91 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.004708, allocations: 55.75 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.004712, allocations: 3.938 kB / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.383e-06/0.004713, allocations: 0.6562 kB / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.004717, allocations: 1.594 kB / 0.7897 GB, free: 10.06 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.0004502/0.005167, allocations: 408.3 kB / 0.7901 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.00521, allocations: 11.97 kB / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.005361, allocations: 28.31 kB / 0.7901 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.005536, allocations: 142.3 kB / 0.7902 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.005546, allocations: 384 / 0.7902 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.00556, allocations: 12.36 kB / 0.7902 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.005684, allocations: 58.94 kB / 0.7903 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.005692, allocations: 4.172 kB / 0.7903 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.005701, allocations: 4.375 kB / 0.7903 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.005707, allocations: 4.312 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.633e-05/0.005743, allocations: 12.5 kB / 0.7903 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.006082, allocations: 276.9 kB / 0.7906 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.531e-05/0.006178, allocations: 44.64 kB / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.006198, allocations: 15.75 kB / 0.7906 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.006215, allocations: 0 / 0.7906 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.006239, allocations: 37.92 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.00624, allocations: 0 / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001595/0.0064, allocations: 54.8 kB / 0.7907 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.00643, allocations: 51.41 kB / 0.7908 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.006535, allocations: 191.7 kB / 0.791 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.00655, allocations: 30.64 kB / 0.791 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.006615, allocations: 146.8 kB / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.006631, allocations: 8.469 kB / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.006669, allocations: 23.36 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.006803, allocations: 0.4933 MB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.006819, allocations: 0 / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.489e-05/0.006833, allocations: 4 kB / 0.7917 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.069e-05/0.006874, allocations: 24.48 kB / 0.7917 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.006878, allocations: 4 kB / 0.7917 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.475e-05/0.006963, allocations: 46.7 kB / 0.7917 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.006978, allocations: 4 kB / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.006984, allocations: 3.984 kB / 0.7917 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.006996, allocations: 9.375 kB / 0.7917 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.315e-05/0.007049, allocations: 0 / 0.7917 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.007052, allocations: 0 / 0.7917 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.007092, allocations: 16.52 kB / 0.7918 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.007099, allocations: 0 / 0.7918 GB, free: 7.738 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.93e-05/0.007178, allocations: 158.5 kB / 0.7919 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.007213, allocations: 11.89 kB / 0.7919 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.007243, allocations: 12.34 kB / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.007245, allocations: 0 / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.007247, allocations: 0.6875 kB / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.00725, allocations: 0 / 0.7919 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.007385, allocations: 107.1 kB / 0.792 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.007387, allocations: 4 kB / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.007422, allocations: 11.92 kB / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.007425, allocations: 336 / 0.7921 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.007433, allocations: 4 kB / 0.7921 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.007435, allocations: 4.562 kB / 0.7921 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.007437, allocations: 0 / 0.7921 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.007566, allocations: 192.6 kB / 0.7922 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.007578, allocations: 4 kB / 0.7922 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.007597, allocations: 5.219 kB / 0.7923 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.007665, allocations: 11.92 kB / 0.7923 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.007705, allocations: 7.984 kB / 0.7923 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.00771, allocations: 0.6562 kB / 0.7923 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.007771, allocations: 150.7 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.007771, allocations: 0 / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000241/0.008012, allocations: 15.89 kB / 0.7924 GB, free: 7 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.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.0001245/0.008136, allocations: 96.31 kB / 0.7925 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.857e-05/0.008215, allocations: 23.61 kB / 0.7925 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.008217, allocations: 0.8438 kB / 0.7925 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.008244, allocations: 15.69 kB / 0.7926 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.008515, allocations: 14.22 kB / 0.7926 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.009022, allocations: 181.7 kB / 0.7927 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.312e-05/0.009065, allocations: 62.12 kB / 0.7928 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.009105, allocations: 4 kB / 0.7928 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.582e-05/0.009181, allocations: 82.19 kB / 0.7929 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.009181, allocations: 3.938 kB / 0.7929 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of Templates: time 0.003434/0.01262, allocations: 1.006 MB / 0.7939 GB, free: 5.492 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.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.896482874173671]