Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001529/0.001529, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00177/0.00177, allocations: 169 kB / 24.28 MB, free: 280 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 1.005/1.005, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.987/1.987, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.8116 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.776e-05, allocations: 6.312 kB / 0.8116 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001603/0.001631, allocations: 0.8711 MB / 0.8124 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009577/0.002589, allocations: 0.9383 MB / 0.8134 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.094e-05/0.00267, allocations: 7.938 kB / 0.8134 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.002799, allocations: 15.81 kB / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.605e-05/0.002835, allocations: 20.88 kB / 0.8134 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.003027, allocations: 36.62 kB / 0.8134 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.00314, allocations: 107.7 kB / 0.8135 GB, free: 0 / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.003269, allocations: 33.66 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.003426, allocations: 55.88 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.00349, allocations: 31.91 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.003509, allocations: 8 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.684e-05/0.003546, allocations: 9.531 kB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.003563, allocations: 23.91 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.003595, allocations: 23.92 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.003729, allocations: 71.62 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003731, allocations: 1.75 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003731, allocations: 0 / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.003735, allocations: 0 / 0.8138 GB, free: 15.75 MB / 0.7761 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.0004037/0.004139, allocations: 424.2 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.004179, allocations: 8.562 kB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.004309, allocations: 33.83 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.004488, allocations: 146.1 kB / 0.8144 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.004497, allocations: 384 / 0.8144 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.004509, allocations: 12.31 kB / 0.8144 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.004649, allocations: 78.92 kB / 0.8145 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.004655, allocations: 2.781 kB / 0.8145 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.004666, allocations: 4.375 kB / 0.8145 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.004675, allocations: 8.359 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/0.004724, allocations: 23.92 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.005074, allocations: 331.5 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.514e-05/0.005169, allocations: 47.58 kB / 0.8149 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/0.005195, allocations: 12.41 kB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.005209, allocations: 4 kB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.005228, allocations: 41.86 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.005229, allocations: 1.656 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.005403, allocations: 57.73 kB / 0.815 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.005431, allocations: 51.41 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.005533, allocations: 196.5 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.005551, allocations: 29.7 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.123e-05/0.005612, allocations: 151.3 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.005629, allocations: 16.44 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.005663, allocations: 23.38 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.005784, allocations: 0.5008 MB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.005807, allocations: 4 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.005826, allocations: 9.094 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.53e-05/0.005871, allocations: 31.73 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.005873, allocations: 0 / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.781e-05/0.005951, allocations: 59.02 kB / 0.816 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.005964, allocations: 8 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.005968, allocations: 0 / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.005979, allocations: 0.5 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.181e-05/0.006041, allocations: 5.125 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.006047, allocations: 4 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.006081, allocations: 7.984 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.006088, allocations: 0.9062 kB / 0.816 GB, free: 13.26 MB / 0.7761 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.747e-05/0.006166, allocations: 169.3 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.006184, allocations: 7.953 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.006207, allocations: 12.33 kB / 0.8162 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.006209, allocations: 6.219 kB / 0.8162 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.006212, allocations: 0 / 0.8162 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.006215, allocations: 0 / 0.8162 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.006331, allocations: 136.5 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006332, allocations: 0 / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.00636, allocations: 8 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.006362, allocations: 2.781 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.006371, allocations: 3.984 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.006373, allocations: 0 / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006373, allocations: 0 / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.006492, allocations: 211.8 kB / 0.8166 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-06/0.006501, allocations: 3.953 kB / 0.8166 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.006521, allocations: 4 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.512e-05/0.006566, allocations: 9.453 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.00662, allocations: 15.97 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.006624, allocations: 64 / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.885e-05/0.006673, allocations: 140 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006673, allocations: 0.5 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001467/0.00682, allocations: 16.47 kB / 0.8167 GB, free: 12.47 MB / 0.7761 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.966e-05/0.006909, allocations: 96.89 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.315e-05/0.007002, allocations: 39.66 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007004, allocations: 1.031 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.234e-05/0.007036, allocations: 27.61 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.00724, allocations: 23.75 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.007732, allocations: 190.6 kB / 0.8171 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.685e-05/0.007769, allocations: 63.34 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.007798, allocations: 4 kB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.007834, allocations: 16.48 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.007834, allocations: 0 / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of Templates: time 0.002641/0.01048, allocations: 1.087 MB / 0.8182 GB, free: 10.91 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.254861178109422]