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.001143/0.001143, allocations: 92.22 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.001621/0.001621, allocations: 169 kB / 23.02 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.9846/0.9846, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.228/2.228, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.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 2.735e-06/2.735e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.314e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001738/0.001771, allocations: 0.8748 MB / 0.8791 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.00277, allocations: 0.9353 MB / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.399e-05/0.002864, allocations: 7.938 kB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.002998, allocations: 20.33 kB / 0.88 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.796e-05/0.003036, allocations: 16.52 kB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.003245, allocations: 40.92 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.003357, allocations: 103.7 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.003483, allocations: 35.89 kB / 0.8802 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.003639, allocations: 56.98 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.852e-05/0.003697, allocations: 35.89 kB / 0.8803 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.003717, allocations: 9.031 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.027e-05/0.003758, allocations: 8 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.003775, allocations: 19.92 kB / 0.8804 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.003804, allocations: 25.02 kB / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.00393, allocations: 71.67 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.003933, allocations: 3.938 kB / 0.8804 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003934, allocations: 1.062 kB / 0.8804 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.003938, allocations: 0 / 0.8804 GB, free: 3.977 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004167/0.004355, allocations: 429.3 kB / 0.8809 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.004395, allocations: 12.03 kB / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.004528, allocations: 21.61 kB / 0.8809 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.004716, allocations: 151.7 kB / 0.881 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.004728, allocations: 8.312 kB / 0.881 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.004744, allocations: 4.375 kB / 0.881 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.004899, allocations: 86.92 kB / 0.8811 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.004911, allocations: 192 / 0.8811 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.004923, allocations: 4.375 kB / 0.8811 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.004934, allocations: 4.375 kB / 0.8811 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.004984, allocations: 22.92 kB / 0.8812 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.005491, allocations: 328.7 kB / 0.8815 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.005603, allocations: 48.61 kB / 0.8815 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.944e-05/0.005632, allocations: 15.77 kB / 0.8815 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.005653, allocations: 4 kB / 0.8815 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.00568, allocations: 37.33 kB / 0.8816 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.00568, allocations: 1.094 kB / 0.8816 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002038/0.005884, allocations: 61.64 kB / 0.8816 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.005917, allocations: 51.41 kB / 0.8817 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.006022, allocations: 189.4 kB / 0.8819 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.00604, allocations: 25.7 kB / 0.8819 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.00611, allocations: 154.8 kB / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.006129, allocations: 11.89 kB / 0.882 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.006165, allocations: 31.36 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.006294, allocations: 0.4961 MB / 0.8826 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.006319, allocations: 4 kB / 0.8826 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.054e-05/0.00634, allocations: 7.938 kB / 0.8826 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.075e-05/0.00638, allocations: 23.81 kB / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.006383, allocations: 0 / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.782e-05/0.006461, allocations: 53.64 kB / 0.8826 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.006475, allocations: 8 kB / 0.8827 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.00648, allocations: 0 / 0.8827 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.006499, allocations: 3.938 kB / 0.8827 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.412e-05/0.006573, allocations: 15.98 kB / 0.8827 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.006579, allocations: 4 kB / 0.8827 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.006612, allocations: 11.92 kB / 0.8827 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.006619, allocations: 0 / 0.8827 GB, free: 1.484 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 (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 8.092e-05/0.0067, allocations: 160.5 kB / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.006719, allocations: 11.95 kB / 0.8829 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.006749, allocations: 12.34 kB / 0.8829 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.00675, allocations: 0 / 0.8829 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.006754, allocations: 0 / 0.8829 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.006758, allocations: 3.984 kB / 0.8829 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.006865, allocations: 136.6 kB / 0.883 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.006868, allocations: 4.172 kB / 0.883 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.423e-05/0.006892, allocations: 8 kB / 0.883 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.006893, allocations: 0 / 0.883 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.006902, allocations: 3.984 kB / 0.883 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006903, allocations: 0 / 0.883 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006904, allocations: 0 / 0.883 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.007024, allocations: 211.8 kB / 0.8832 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.007034, allocations: 7.953 kB / 0.8832 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.007053, allocations: 4 kB / 0.8832 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.64e-05/0.007099, allocations: 20.05 kB / 0.8832 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.00715, allocations: 11.98 kB / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.007153, allocations: 0 / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.007203, allocations: 145 kB / 0.8834 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007203, allocations: 0 / 0.8834 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001491/0.007352, allocations: 19.89 kB / 0.8834 GB, free: 0.6719 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 (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 7.707e-05/0.007429, allocations: 95.25 kB / 0.8835 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.161e-05/0.007521, allocations: 27.67 kB / 0.8835 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.007522, allocations: 0 / 0.8835 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.788e-05/0.00755, allocations: 27.62 kB / 0.8836 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.007745, allocations: 19.92 kB / 0.8836 GB, free: 496 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.00823, allocations: 186.4 kB / 0.8838 GB, free: 280 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.379e-05/0.008274, allocations: 63.34 kB / 0.8838 GB, free: 196 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.008306, allocations: 8 kB / 0.8838 GB, free: 188 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.008345, allocations: 12.5 kB / 0.8838 GB, free: 172 kB / 0.8386 GB Notification: Performance of SimCode: time 7.02e-07/0.008346, allocations: 3.938 kB / 0.8838 GB, free: 168 kB / 0.8386 GB Notification: Performance of Templates: time 0.002759/0.01111, allocations: 1.092 MB / 0.8849 GB, free: 15.1 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.707775671966374]