Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007796/0.0007797, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004499/0.004499, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.527/1.527, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005757/0.0005761, allocations: 22.14 kB / 0.6744 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1816, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0007813/0.1824, allocations: 486.1 kB / 0.7885 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.1839, allocations: 1.274 MB / 0.7897 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.1839, allocations: 4 kB / 0.7897 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.184, allocations: 3.938 kB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.184, allocations: 15.84 kB / 0.7897 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.1846, allocations: 230.6 kB / 0.79 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1848, allocations: 227.5 kB / 0.7902 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.1e-05/0.1849, allocations: 24.2 kB / 0.7902 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.185, allocations: 83.86 kB / 0.7903 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1851, allocations: 79.72 kB / 0.7904 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.1852, allocations: 12 kB / 0.7904 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.1853, allocations: 23.98 kB / 0.7904 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.1853, allocations: 23.95 kB / 0.7904 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1854, allocations: 109.4 kB / 0.7905 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.1856, allocations: 215.6 kB / 0.7907 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1856, allocations: 4 kB / 0.7907 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1856, allocations: 0 / 0.7907 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1857, allocations: 0 / 0.7907 GB, free: 8.68 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005626/0.1862, allocations: 458.6 kB / 0.7912 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1863, allocations: 8.031 kB / 0.7912 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.1863, allocations: 42.73 kB / 0.7912 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.1864, allocations: 24.83 kB / 0.7912 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.1869, allocations: 264.2 kB / 0.7915 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.187, allocations: 12.36 kB / 0.7915 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.187, allocations: 24.38 kB / 0.7915 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1872, allocations: 143 kB / 0.7917 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1873, allocations: 0 / 0.7917 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1873, allocations: 3.938 kB / 0.7917 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1873, allocations: 4 kB / 0.7917 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1874, allocations: 59.95 kB / 0.7917 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007068/0.1881, allocations: 0.5241 MB / 0.7922 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.1883, allocations: 157.2 kB / 0.7924 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.885e-05/0.1884, allocations: 61.69 kB / 0.7924 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.1885, allocations: 7.938 kB / 0.7925 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002791/0.1887, allocations: 207.4 kB / 0.7927 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.162e-06/0.1887, allocations: 0 / 0.7927 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.000473/0.1892, allocations: 321.3 kB / 0.793 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1893, allocations: 85.05 kB / 0.793 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.1894, allocations: 130 kB / 0.7932 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.1894, allocations: 45.64 kB / 0.7932 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.1895, allocations: 104.6 kB / 0.7933 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.1896, allocations: 43.44 kB / 0.7933 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.1896, allocations: 41.7 kB / 0.7934 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1897, allocations: 322.8 kB / 0.7937 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.1899, allocations: 88.23 kB / 0.7938 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.1901, allocations: 152.2 kB / 0.7939 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.1904, allocations: 254 kB / 0.7942 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1904, allocations: 0 / 0.7942 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004993/0.1909, allocations: 352.6 kB / 0.7945 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.1909, allocations: 63.39 kB / 0.7946 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1909, allocations: 4 kB / 0.7946 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.191, allocations: 4 kB / 0.7946 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.191, allocations: 27.86 kB / 0.7946 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1911, allocations: 8.594 kB / 0.7946 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.1914, allocations: 87.78 kB / 0.7947 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.1915, allocations: 15.98 kB / 0.7947 GB, free: 4.238 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001323/0.1916, allocations: 146.9 kB / 0.7948 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.1916, allocations: 19.75 kB / 0.7949 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.1917, allocations: 12.5 kB / 0.7949 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.1917, allocations: 7.938 kB / 0.7949 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1917, allocations: 4 kB / 0.7949 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1917, allocations: 3.984 kB / 0.7949 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.1922, allocations: 0.6109 MB / 0.7955 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1923, allocations: 0 / 0.7955 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.1923, allocations: 8 kB / 0.7955 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1923, allocations: 3.938 kB / 0.7955 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.1923, allocations: 15.92 kB / 0.7955 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.1923, allocations: 4 kB / 0.7955 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1923, allocations: 11.94 kB / 0.7955 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.1927, allocations: 414.6 kB / 0.7959 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.1928, allocations: 96.84 kB / 0.796 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.1928, allocations: 11.92 kB / 0.796 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1929, allocations: 15.98 kB / 0.796 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.193, allocations: 23.97 kB / 0.7961 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.193, allocations: 15.98 kB / 0.7961 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.1931, allocations: 95.27 kB / 0.7962 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1931, allocations: 0 / 0.7962 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000325/0.1934, allocations: 55.98 kB / 0.7962 GB, free: 2.578 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 0.0006467/0.1941, allocations: 0.9751 MB / 0.7972 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004148/0.1945, allocations: 346.5 kB / 0.7975 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1945, allocations: 0 / 0.7975 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.1946, allocations: 115.9 kB / 0.7976 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.195, allocations: 27.66 kB / 0.7976 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.1972, allocations: 2.295 MB / 0.7999 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1975, allocations: 0.7047 MB / 0.8006 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.595e-05/0.1975, allocations: 21.55 kB / 0.8006 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.1976, allocations: 39.36 kB / 0.8006 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.1976, allocations: 0 / 0.8006 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.105/1.303, allocations: 3.678 MB / 0.8042 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/1.303, allocations: 200.5 kB / 0.8044 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.836, allocations: 0 / 0.8044 GB, free: 10.05 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)