Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001489/0.001489, 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.001886/0.001886, allocations: 161.4 kB / 23.82 MB, free: 0.7461 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.9886/0.9886, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.881/1.881, allocations: 359 MB / 0.6052 GB, free: 11.01 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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.102e-05, allocations: 8.922 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001355/0.001376, allocations: 0.8695 MB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009039/0.00228, allocations: 0.9413 MB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.328e-05/0.002373, allocations: 0.75 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.002523, allocations: 23.73 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.365e-05/0.002567, allocations: 12.67 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.002811, allocations: 48.33 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.00294, allocations: 100.3 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.003067, allocations: 35.95 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.003235, allocations: 57.3 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.634e-05/0.003302, allocations: 31.89 kB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.003324, allocations: 8 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.882e-05/0.003372, allocations: 13.06 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.00339, allocations: 15.92 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.003424, allocations: 23.92 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.003575, allocations: 72.83 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003577, allocations: 3.938 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003577, allocations: 0 / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.003582, allocations: 1.25 kB / 0.7894 GB, free: 10.15 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004025/0.003985, allocations: 424.2 kB / 0.7898 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.004021, allocations: 13.53 kB / 0.7898 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.004136, allocations: 20.84 kB / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.004302, allocations: 149.6 kB / 0.7899 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.004313, allocations: 8.375 kB / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.004326, allocations: 4.375 kB / 0.79 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.00446, allocations: 83.86 kB / 0.79 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.004469, allocations: 192 / 0.79 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.004482, allocations: 1.969 kB / 0.79 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.004488, allocations: 4.375 kB / 0.79 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.004536, allocations: 23.92 kB / 0.7901 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.004885, allocations: 336.8 kB / 0.7904 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.392e-05/0.004979, allocations: 43.05 kB / 0.7904 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/0.005008, allocations: 23.77 kB / 0.7905 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.005024, allocations: 2.906 kB / 0.7905 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.005044, allocations: 37.39 kB / 0.7905 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.005045, allocations: 0 / 0.7905 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001582/0.005204, allocations: 61.58 kB / 0.7905 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.00523, allocations: 51.41 kB / 0.7906 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.615e-05/0.005316, allocations: 191.6 kB / 0.7908 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.005331, allocations: 25.7 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.005388, allocations: 154.8 kB / 0.791 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.005405, allocations: 16.56 kB / 0.791 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.005439, allocations: 23.36 kB / 0.791 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002508/0.00569, allocations: 0.4978 MB / 0.7915 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.005713, allocations: 8 kB / 0.7915 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.684e-05/0.00573, allocations: 4 kB / 0.7915 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.005768, allocations: 23.62 kB / 0.7915 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.00577, allocations: 1.75 kB / 0.7915 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.523e-05/0.005845, allocations: 57.64 kB / 0.7916 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.005857, allocations: 4 kB / 0.7916 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005862, allocations: 0 / 0.7916 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.005875, allocations: 3.938 kB / 0.7916 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.005936, allocations: 13.17 kB / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.005941, allocations: 0 / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.005972, allocations: 9.609 kB / 0.7916 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.00598, allocations: 4 kB / 0.7916 GB, free: 7.664 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 (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 6.807e-05/0.006048, allocations: 164.5 kB / 0.7918 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.006065, allocations: 7.953 kB / 0.7918 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.00609, allocations: 14.09 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.006091, allocations: 0 / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.006095, allocations: 0 / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.006098, allocations: 3.984 kB / 0.7918 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.006207, allocations: 145.4 kB / 0.7919 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006208, allocations: 0 / 0.7919 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-05/0.006233, allocations: 4.719 kB / 0.7919 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.006234, allocations: 0 / 0.7919 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.006243, allocations: 4.719 kB / 0.7919 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.006244, allocations: 4 kB / 0.7919 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006245, allocations: 0.5312 kB / 0.7919 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.006353, allocations: 205.1 kB / 0.7921 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-06/0.006362, allocations: 7.953 kB / 0.7921 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.006383, allocations: 0 / 0.7921 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.614e-05/0.006429, allocations: 20.45 kB / 0.7922 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.006478, allocations: 7.984 kB / 0.7922 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.006483, allocations: 5.375 kB / 0.7922 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.665e-05/0.006529, allocations: 145.7 kB / 0.7923 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006529, allocations: 4 kB / 0.7923 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001439/0.006673, allocations: 13.09 kB / 0.7923 GB, free: 6.863 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 (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.15e-05/0.006745, allocations: 95.25 kB / 0.7924 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.588e-05/0.006841, allocations: 33.09 kB / 0.7924 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.006842, allocations: 0 / 0.7924 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/0.006871, allocations: 23.61 kB / 0.7925 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.007062, allocations: 21.67 kB / 0.7925 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.007533, allocations: 191.6 kB / 0.7927 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.007567, allocations: 59.34 kB / 0.7927 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.833e-05/0.007595, allocations: 6.844 kB / 0.7927 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.007631, allocations: 16.5 kB / 0.7928 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/0.007632, allocations: 3.938 kB / 0.7928 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of Templates: time 0.002549/0.01018, allocations: 1.093 MB / 0.7938 GB, free: 5.32 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.199871983844787]