Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.001308/0.001308, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001379/0.001379, allocations: 169 kB / 23.27 MB, free: 1.223 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.011/1.011, allocations: 177.2 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.406/2.406, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.465e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001652/0.001676, allocations: 0.8582 MB / 0.8907 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.002882, allocations: 0.9365 MB / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.003017, allocations: 11.94 kB / 0.8916 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.003173, allocations: 11.86 kB / 0.8916 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.003218, allocations: 15.86 kB / 0.8916 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.003438, allocations: 43.83 kB / 0.8916 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.003551, allocations: 103.7 kB / 0.8917 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.003675, allocations: 27.97 kB / 0.8918 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.003863, allocations: 67.75 kB / 0.8918 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.00392, allocations: 27.97 kB / 0.8919 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.003942, allocations: 15.94 kB / 0.8919 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.003985, allocations: 8 kB / 0.8919 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.004008, allocations: 19.97 kB / 0.8919 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.004037, allocations: 23.92 kB / 0.8919 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.00419, allocations: 71.67 kB / 0.892 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.004195, allocations: 0 / 0.892 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004196, allocations: 0 / 0.892 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.004201, allocations: 0 / 0.892 GB, free: 7.418 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003859/0.004587, allocations: 428.1 kB / 0.8924 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.004631, allocations: 16.61 kB / 0.8924 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.004739, allocations: 20.89 kB / 0.8924 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.004888, allocations: 155.2 kB / 0.8926 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.004898, allocations: 4.375 kB / 0.8926 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.00491, allocations: 8.375 kB / 0.8926 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.005027, allocations: 78.55 kB / 0.8927 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.005035, allocations: 8.188 kB / 0.8927 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.005045, allocations: 8.359 kB / 0.8927 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.00505, allocations: 384 / 0.8927 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.039e-05/0.00508, allocations: 23.88 kB / 0.8927 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.005387, allocations: 296.2 kB / 0.893 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.042e-05/0.005468, allocations: 50.98 kB / 0.893 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.005484, allocations: 11.78 kB / 0.8931 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.005502, allocations: 7.984 kB / 0.8931 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.005523, allocations: 33.39 kB / 0.8931 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.005524, allocations: 0 / 0.8931 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001368/0.005661, allocations: 61.75 kB / 0.8932 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.005688, allocations: 55.41 kB / 0.8932 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/0.005771, allocations: 189.8 kB / 0.8934 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.005787, allocations: 25.7 kB / 0.8934 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.005846, allocations: 154.8 kB / 0.8936 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.005862, allocations: 7.891 kB / 0.8936 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.005896, allocations: 31.34 kB / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.006025, allocations: 0.4884 MB / 0.8941 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.00604, allocations: 11.92 kB / 0.8941 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.327e-05/0.006053, allocations: 4 kB / 0.8941 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.318e-05/0.006086, allocations: 15.69 kB / 0.8941 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.006089, allocations: 7.938 kB / 0.8941 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.15e-05/0.006161, allocations: 61.58 kB / 0.8942 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.006172, allocations: 4 kB / 0.8942 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006176, allocations: 0 / 0.8942 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.006186, allocations: 0 / 0.8942 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.028e-05/0.006236, allocations: 11.98 kB / 0.8942 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.006239, allocations: 0 / 0.8942 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.00627, allocations: 11.94 kB / 0.8942 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.006278, allocations: 4 kB / 0.8942 GB, free: 4.961 MB / 0.8542 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 (5): * Single equations (assignments): 5 * 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.345e-05/0.006351, allocations: 156.5 kB / 0.8944 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.006367, allocations: 8 kB / 0.8944 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.006399, allocations: 16.34 kB / 0.8944 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.0064, allocations: 0 / 0.8944 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.006402, allocations: 0 / 0.8944 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006406, allocations: 192 / 0.8944 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.006511, allocations: 121.2 kB / 0.8945 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.006512, allocations: 0 / 0.8945 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.006534, allocations: 7.938 kB / 0.8945 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.006537, allocations: 7.938 kB / 0.8945 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.006546, allocations: 7.984 kB / 0.8945 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.006546, allocations: 0 / 0.8945 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006547, allocations: 4 kB / 0.8945 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.006662, allocations: 195.9 kB / 0.8947 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.006675, allocations: 11.92 kB / 0.8947 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.006691, allocations: 4 kB / 0.8947 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.273e-05/0.006734, allocations: 11.98 kB / 0.8947 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.006774, allocations: 7.984 kB / 0.8947 GB, free: 4.348 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.006781, allocations: 7.984 kB / 0.8947 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.006826, allocations: 133.2 kB / 0.8949 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006826, allocations: 0 / 0.8949 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000143/0.006969, allocations: 19.89 kB / 0.8949 GB, free: 4.191 MB / 0.8542 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 (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 Backend phase and start with SimCode phase: time 8.371e-05/0.007053, allocations: 103.2 kB / 0.895 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.131e-05/0.007124, allocations: 27.67 kB / 0.895 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.007125, allocations: 3.938 kB / 0.895 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.753e-05/0.007153, allocations: 19.67 kB / 0.895 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.007344, allocations: 12 kB / 0.8951 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.007766, allocations: 202.2 kB / 0.8952 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.582e-05/0.007802, allocations: 59.34 kB / 0.8953 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.81e-05/0.00783, allocations: 4 kB / 0.8953 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.007898, allocations: 82.19 kB / 0.8954 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of SimCode: time 3.41e-07/0.007898, allocations: 0 / 0.8954 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of Templates: time 0.002669/0.01057, allocations: 1.2 MB / 0.8966 GB, free: 2.441 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.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.214362443890423]