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.001462/0.001462, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001574/0.001574, allocations: 168 kB / 24.86 MB, free: 9.207 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.9826/0.9826, allocations: 177.2 MB / 205.3 MB, free: 5.504 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.804/1.804, allocations: 359 MB / 0.6063 GB, free: 10.89 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.373e-06/1.373e-06, allocations: 3.828 kB / 0.7884 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.265e-05, allocations: 3.969 kB / 0.7884 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001257/0.00127, allocations: 0.8533 MB / 0.7892 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007914/0.002061, allocations: 0.9482 MB / 0.7901 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.002129, allocations: 5.562 kB / 0.7901 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.002245, allocations: 19.86 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.255e-05/0.002278, allocations: 7.875 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.002433, allocations: 49.03 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.296e-05/0.002526, allocations: 99.7 kB / 0.7903 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.002623, allocations: 32.56 kB / 0.7903 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.002752, allocations: 59.83 kB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.002803, allocations: 32.58 kB / 0.7904 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.002818, allocations: 8.906 kB / 0.7904 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.593e-05/0.002854, allocations: 12 kB / 0.7905 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.002872, allocations: 15.92 kB / 0.7905 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.002896, allocations: 28.56 kB / 0.7905 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.003002, allocations: 67.69 kB / 0.7906 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003005, allocations: 5.578 kB / 0.7906 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.5e-07/0.003005, allocations: 0 / 0.7906 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.003008, allocations: 0 / 0.7906 GB, free: 9.898 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.0003426/0.003351, allocations: 427.8 kB / 0.791 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.003379, allocations: 8.031 kB / 0.791 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.634e-05/0.003475, allocations: 28.83 kB / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.003603, allocations: 146.6 kB / 0.7911 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.003612, allocations: 8.375 kB / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.00362, allocations: 4.375 kB / 0.7912 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.003726, allocations: 81.55 kB / 0.7912 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.003732, allocations: 0.9062 kB / 0.7912 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.003739, allocations: 384 / 0.7912 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.003743, allocations: 2.031 kB / 0.7912 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.935e-05/0.003773, allocations: 19.92 kB / 0.7913 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.00404, allocations: 312.1 kB / 0.7916 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.98e-05/0.00411, allocations: 43.89 kB / 0.7916 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.004128, allocations: 20.66 kB / 0.7916 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.004139, allocations: 0 / 0.7916 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.00416, allocations: 33.39 kB / 0.7917 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.004161, allocations: 1.344 kB / 0.7917 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001186/0.004279, allocations: 61.72 kB / 0.7917 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.004302, allocations: 51.41 kB / 0.7918 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.834e-05/0.00437, allocations: 189.8 kB / 0.7919 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.004385, allocations: 34.48 kB / 0.792 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.004431, allocations: 142.8 kB / 0.7921 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.004448, allocations: 20.98 kB / 0.7921 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.004477, allocations: 23.36 kB / 0.7922 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.004579, allocations: 0.4884 MB / 0.7926 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.004594, allocations: 12.83 kB / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.004606, allocations: 4 kB / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.004638, allocations: 21.38 kB / 0.7927 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.00464, allocations: 4.062 kB / 0.7927 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.425e-05/0.004704, allocations: 57.64 kB / 0.7927 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.004714, allocations: 5.719 kB / 0.7927 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.004717, allocations: 0 / 0.7927 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/0.004724, allocations: 4.625 kB / 0.7927 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.805e-05/0.004772, allocations: 12.61 kB / 0.7927 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.004774, allocations: 0 / 0.7927 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.004805, allocations: 8.625 kB / 0.7928 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.004812, allocations: 1.062 kB / 0.7928 GB, free: 7.473 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.44e-05/0.004876, allocations: 168.5 kB / 0.7929 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.004895, allocations: 8.484 kB / 0.7929 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.004915, allocations: 9.844 kB / 0.7929 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.004918, allocations: 3.984 kB / 0.7929 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.00492, allocations: 0 / 0.7929 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.004922, allocations: 0 / 0.7929 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.627e-05/0.005018, allocations: 118.3 kB / 0.7931 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005019, allocations: 0 / 0.7931 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.005045, allocations: 11.98 kB / 0.7931 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.005047, allocations: 4.438 kB / 0.7931 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.005052, allocations: 0.875 kB / 0.7931 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-07/0.005053, allocations: 0 / 0.7931 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005054, allocations: 0 / 0.7931 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.916e-05/0.005153, allocations: 204.6 kB / 0.7933 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.005163, allocations: 11.89 kB / 0.7933 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.005176, allocations: 0.9375 kB / 0.7933 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.646e-05/0.005223, allocations: 15.98 kB / 0.7933 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.005258, allocations: 13.2 kB / 0.7933 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.005262, allocations: 3.938 kB / 0.7933 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.005306, allocations: 143.1 kB / 0.7934 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005306, allocations: 0.8438 kB / 0.7934 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001387/0.005444, allocations: 15.94 kB / 0.7935 GB, free: 6.699 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 6.767e-05/0.005512, allocations: 99.86 kB / 0.7936 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.309e-05/0.005585, allocations: 27.67 kB / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.005587, allocations: 4 kB / 0.7936 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.361e-05/0.00561, allocations: 15.69 kB / 0.7936 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.005795, allocations: 25.02 kB / 0.7936 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.006164, allocations: 194.2 kB / 0.7938 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.457e-05/0.006199, allocations: 63.34 kB / 0.7939 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.617e-05/0.006225, allocations: 1.438 kB / 0.7939 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.006286, allocations: 82.81 kB / 0.7939 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.006286, allocations: 0 / 0.7939 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of Templates: time 0.00241/0.008696, allocations: 1.219 MB / 0.7951 GB, free: 4.961 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: 4.9875267068855464]