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.001474/0.001474, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001274/0.001274, 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.004/1.004, allocations: 177.2 MB / 204.6 MB, free: 5.586 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.814/1.814, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 177] 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 3.306e-06/3.306e-06, allocations: 0 / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.397e-05/4.728e-05, allocations: 5.125 kB / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001653/0.001701, allocations: 0.8493 MB / 0.788 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.002703, allocations: 0.951 MB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.717e-05/0.0028, allocations: 0 / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.002918, allocations: 19.8 kB / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.002958, allocations: 15.86 kB / 0.789 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.003154, allocations: 36.95 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.003268, allocations: 107.6 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.003383, allocations: 27.97 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.003545, allocations: 69.38 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.003596, allocations: 27.91 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.003614, allocations: 8 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.805e-05/0.003652, allocations: 8 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.003669, allocations: 25.16 kB / 0.7893 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.003696, allocations: 19.98 kB / 0.7893 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.003824, allocations: 75.61 kB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.003827, allocations: 2.094 kB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003828, allocations: 0 / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.003832, allocations: 0 / 0.7894 GB, free: 10.5 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.0004218/0.004254, allocations: 420.3 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.004289, allocations: 12.03 kB / 0.7898 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.004418, allocations: 26.97 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.004587, allocations: 144.5 kB / 0.7899 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.004599, allocations: 8.375 kB / 0.7899 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.004611, allocations: 9.922 kB / 0.79 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.004891, allocations: 90.84 kB / 0.79 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.004898, allocations: 192 / 0.79 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.004909, allocations: 4.375 kB / 0.79 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.004917, allocations: 6.125 kB / 0.79 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/0.004964, allocations: 19.92 kB / 0.7901 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.005306, allocations: 331.5 kB / 0.7904 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.223e-05/0.005399, allocations: 48.02 kB / 0.7904 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.005424, allocations: 15.69 kB / 0.7904 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.005436, allocations: 0.5625 kB / 0.7904 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.005455, allocations: 33.39 kB / 0.7905 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.005456, allocations: 1.938 kB / 0.7905 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001646/0.005621, allocations: 65.66 kB / 0.7905 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.00565, allocations: 55.41 kB / 0.7906 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.005742, allocations: 188.1 kB / 0.7908 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.005757, allocations: 25.7 kB / 0.7908 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.005812, allocations: 157.2 kB / 0.7909 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.005835, allocations: 19.83 kB / 0.791 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.005866, allocations: 27.36 kB / 0.791 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.005969, allocations: 0.4922 MB / 0.7915 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.005991, allocations: 7.984 kB / 0.7915 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.006008, allocations: 4 kB / 0.7915 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.006047, allocations: 24.34 kB / 0.7915 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006049, allocations: 0 / 0.7915 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.48e-05/0.006124, allocations: 58.17 kB / 0.7916 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.006136, allocations: 4 kB / 0.7916 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.00614, allocations: 1.656 kB / 0.7916 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.006151, allocations: 0 / 0.7916 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.006215, allocations: 11.98 kB / 0.7916 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.006219, allocations: 0 / 0.7916 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.00625, allocations: 8.656 kB / 0.7916 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.00626, allocations: 9.109 kB / 0.7916 GB, free: 8.016 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.647e-05/0.006327, allocations: 156.5 kB / 0.7917 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.006346, allocations: 13.05 kB / 0.7918 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.006371, allocations: 12.34 kB / 0.7918 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.006373, allocations: 0 / 0.7918 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.006376, allocations: 192 / 0.7918 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.006379, allocations: 1.375 kB / 0.7918 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.006488, allocations: 144.5 kB / 0.7919 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006489, allocations: 4 kB / 0.7919 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.006517, allocations: 8.828 kB / 0.7919 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006518, allocations: 0 / 0.7919 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.006525, allocations: 0.8438 kB / 0.7919 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006526, allocations: 0 / 0.7919 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006526, allocations: 4 kB / 0.7919 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.00664, allocations: 201.1 kB / 0.7921 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.006651, allocations: 12.17 kB / 0.7921 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.006669, allocations: 4 kB / 0.7921 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.348e-05/0.006712, allocations: 8.844 kB / 0.7921 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.006769, allocations: 23.89 kB / 0.7922 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.006773, allocations: 0.9062 kB / 0.7922 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.645e-05/0.006819, allocations: 141.5 kB / 0.7923 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.006819, allocations: 5.469 kB / 0.7923 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000144/0.006963, allocations: 15.94 kB / 0.7923 GB, free: 7.215 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 9.538e-05/0.007059, allocations: 103.2 kB / 0.7924 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.134e-05/0.00715, allocations: 28.89 kB / 0.7924 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007151, allocations: 0 / 0.7924 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-05/0.007183, allocations: 23.62 kB / 0.7925 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.007379, allocations: 19.05 kB / 0.7925 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.007866, allocations: 186.2 kB / 0.7927 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.59e-05/0.007902, allocations: 59.34 kB / 0.7927 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.007937, allocations: 9.828 kB / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.007971, allocations: 16.5 kB / 0.7927 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.007971, allocations: 0.9688 kB / 0.7927 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of Templates: time 0.003005/0.01098, allocations: 1.095 MB / 0.7938 GB, free: 5.664 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.438110565999523]