Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008352/0.0008352, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000868/0.000868, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004926, allocations: 27.41 kB / 0.6736 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2047, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.00195/0.2067, allocations: 1.61 MB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2079, allocations: 0.9457 MB / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.358e-05/0.208, allocations: 11.94 kB / 0.7896 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.2083, allocations: 83.75 kB / 0.7897 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.2085, allocations: 83.7 kB / 0.7898 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.2088, allocations: 111.7 kB / 0.7899 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.209, allocations: 127.7 kB / 0.79 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.2092, allocations: 50.06 kB / 0.7901 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.2093, allocations: 79.67 kB / 0.7902 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.994e-05/0.2094, allocations: 71.67 kB / 0.7902 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.2095, allocations: 4 kB / 0.7902 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.62e-05/0.2096, allocations: 39.92 kB / 0.7903 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.2096, allocations: 47.83 kB / 0.7903 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.2097, allocations: 53.58 kB / 0.7904 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.2099, allocations: 223.8 kB / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.2099, allocations: 0 / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2099, allocations: 0 / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2099, allocations: 0 / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007137/0.2107, allocations: 0.5098 MB / 0.7911 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2107, allocations: 8.031 kB / 0.7911 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.2108, allocations: 31.67 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.2111, allocations: 290.5 kB / 0.7914 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.2112, allocations: 0 / 0.7914 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.2112, allocations: 12 kB / 0.7914 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.2114, allocations: 89.64 kB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.2114, allocations: 3.938 kB / 0.7915 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2114, allocations: 0 / 0.7915 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2114, allocations: 4 kB / 0.7915 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.2115, allocations: 50.78 kB / 0.7915 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.2122, allocations: 460.4 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.2124, allocations: 86.67 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.2124, allocations: 0 / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.2126, allocations: 83.41 kB / 0.7921 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2126, allocations: 0 / 0.7921 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002944/0.2129, allocations: 129.4 kB / 0.7923 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.2129, allocations: 55.41 kB / 0.7923 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.2133, allocations: 367 kB / 0.7927 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.2133, allocations: 29.7 kB / 0.7927 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2134, allocations: 144 kB / 0.7928 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.2135, allocations: 15.81 kB / 0.7928 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-06/0.2135, allocations: 7.938 kB / 0.7929 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2136, allocations: 334.8 kB / 0.7932 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.2137, allocations: 51.97 kB / 0.7932 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.2138, allocations: 85.53 kB / 0.7933 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.2139, allocations: 62.88 kB / 0.7934 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2139, allocations: 3.953 kB / 0.7934 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002816/0.2142, allocations: 185.4 kB / 0.7935 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2143, allocations: 11.94 kB / 0.7936 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2143, allocations: 0 / 0.7936 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.2143, allocations: 0 / 0.7936 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.2144, allocations: 27.92 kB / 0.7936 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2144, allocations: 4.031 kB / 0.7936 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/0.2145, allocations: 15.92 kB / 0.7936 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.2145, allocations: 12 kB / 0.7936 GB, free: 5.066 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.2147, allocations: 148.2 kB / 0.7938 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.2147, allocations: 27.67 kB / 0.7938 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.2148, allocations: 25.73 kB / 0.7938 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2148, allocations: 4 kB / 0.7938 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2148, allocations: 4 kB / 0.7938 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.2148, allocations: 0 / 0.7938 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.215, allocations: 249.5 kB / 0.7941 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.215, allocations: 3.984 kB / 0.7941 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.215, allocations: 15.94 kB / 0.7941 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.215, allocations: 4 kB / 0.7941 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.215, allocations: 0 / 0.7941 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2151, allocations: 0 / 0.7941 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.2151, allocations: 0 / 0.7941 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.2153, allocations: 132.9 kB / 0.7942 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.2153, allocations: 100.8 kB / 0.7943 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.2154, allocations: 11.89 kB / 0.7943 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/0.2155, allocations: 11.98 kB / 0.7943 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.2155, allocations: 11.98 kB / 0.7943 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.2155, allocations: 0 / 0.7943 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002162/0.2158, allocations: 233.9 kB / 0.7946 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2158, allocations: 4 kB / 0.7946 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002366/0.216, allocations: 47.84 kB / 0.7946 GB, free: 3.961 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,lesHys.lesHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008898/0.2169, allocations: 420.8 kB / 0.795 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.2172, allocations: 103.9 kB / 0.7951 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2172, allocations: 0 / 0.7951 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.024e-05/0.2172, allocations: 28 kB / 0.7951 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.2175, allocations: 45.56 kB / 0.7952 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00056/0.2181, allocations: 408.5 kB / 0.7956 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.2184, allocations: 0.7634 MB / 0.7963 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.509e-05/0.2185, allocations: 38.02 kB / 0.7963 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.2185, allocations: 19.44 kB / 0.7964 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2185, allocations: 0 / 0.7964 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of Templates: time 0.005115/0.2236, allocations: 2.555 MB / 0.7989 GB, free: 15.71 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) Environment - environmentSimulation: