Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001/0.001, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001024/0.001024, allocations: 165 kB / 23.01 MB, free: 1.551 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.9715/0.9715, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.22/2.22, allocations: 429.5 MB / 0.6732 GB, free: 4.016 MB / 0.6355 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8782 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.222e-05, allocations: 2.969 kB / 0.8782 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001303/0.001325, allocations: 0.8311 MB / 0.8791 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009451/0.00227, allocations: 0.927 MB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.068e-05/0.002361, allocations: 7.938 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.002512, allocations: 17.94 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.628e-05/0.002549, allocations: 9.5 kB / 0.88 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.002778, allocations: 39.55 kB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.002892, allocations: 79.72 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.003024, allocations: 27.91 kB / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.003164, allocations: 43.84 kB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.003231, allocations: 23.91 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.003255, allocations: 7.984 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.298e-05/0.003298, allocations: 8 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.003312, allocations: 11.94 kB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.003341, allocations: 19.92 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.003471, allocations: 51.77 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003473, allocations: 1.594 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003474, allocations: 0 / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.003478, allocations: 0 / 0.8803 GB, free: 4.145 MB / 0.8386 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.0004057/0.003884, allocations: 413.3 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.003922, allocations: 8.031 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.004056, allocations: 24.88 kB / 0.8807 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.004223, allocations: 145.5 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.004234, allocations: 5.438 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.004245, allocations: 4.375 kB / 0.8809 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.004354, allocations: 62.94 kB / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.004363, allocations: 1.312 kB / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.004373, allocations: 384 / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.004381, allocations: 4.375 kB / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.206e-05/0.004423, allocations: 24.73 kB / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.004775, allocations: 298.3 kB / 0.8812 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.789e-05/0.004862, allocations: 43.14 kB / 0.8813 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.004885, allocations: 15.62 kB / 0.8813 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.004906, allocations: 4 kB / 0.8813 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.004934, allocations: 33.39 kB / 0.8813 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.004935, allocations: 0 / 0.8813 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000165/0.0051, allocations: 51.64 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.005136, allocations: 59.34 kB / 0.8814 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.005245, allocations: 192.1 kB / 0.8816 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.005263, allocations: 25.7 kB / 0.8816 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.005333, allocations: 146.8 kB / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.005351, allocations: 12.64 kB / 0.8818 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.005381, allocations: 23.38 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.005512, allocations: 0.49 MB / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.005531, allocations: 12 kB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.397e-05/0.005545, allocations: 4.188 kB / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.303e-05/0.005578, allocations: 23.69 kB / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.005582, allocations: 0.5 kB / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.755e-05/0.005649, allocations: 58.09 kB / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.005662, allocations: 7.984 kB / 0.8824 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.005667, allocations: 0.9688 kB / 0.8824 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.005681, allocations: 0 / 0.8824 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.874e-05/0.00573, allocations: 5.594 kB / 0.8824 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.005735, allocations: 0 / 0.8824 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.005759, allocations: 4 kB / 0.8824 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.005765, allocations: 7.984 kB / 0.8824 GB, free: 1.773 MB / 0.8386 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 6.848e-05/0.005834, allocations: 160.6 kB / 0.8826 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.005855, allocations: 11.89 kB / 0.8826 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.005881, allocations: 12.34 kB / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.005882, allocations: 0 / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.005887, allocations: 0 / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.00589, allocations: 0 / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.006, allocations: 132.6 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006001, allocations: 0 / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/0.006015, allocations: 4 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.006018, allocations: 3.938 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.006026, allocations: 7.984 kB / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.006027, allocations: 0 / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006027, allocations: 0 / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.889e-05/0.006126, allocations: 199.8 kB / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.006136, allocations: 7.891 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.006154, allocations: 4 kB / 0.8829 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.572e-05/0.00619, allocations: 7.984 kB / 0.8829 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.006232, allocations: 7.984 kB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.006235, allocations: 0 / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.999e-05/0.006285, allocations: 145.4 kB / 0.8831 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/0.006285, allocations: 0 / 0.8831 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001412/0.006426, allocations: 15.94 kB / 0.8831 GB, free: 1 MB / 0.8386 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 7.396e-05/0.0065, allocations: 99.23 kB / 0.8832 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.166e-05/0.006582, allocations: 23.62 kB / 0.8832 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.006583, allocations: 0 / 0.8832 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/0.006607, allocations: 19.67 kB / 0.8832 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.006789, allocations: 15.94 kB / 0.8833 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.007244, allocations: 178.2 kB / 0.8834 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.864e-05/0.007282, allocations: 59.34 kB / 0.8835 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.674e-05/0.007309, allocations: 11.97 kB / 0.8835 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.007343, allocations: 12.5 kB / 0.8835 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of SimCode: time 7.62e-07/0.007343, allocations: 3.938 kB / 0.8835 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of Templates: time 0.002355/0.009698, allocations: 0.9228 MB / 0.8844 GB, free: 15.61 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.620361427310854]