Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001121/0.001121, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.162/1.162, allocations: 205.1 MB / 222 MB, free: 4.762 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.512/1.512, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001318/0.001318, allocations: 70.19 kB / 0.6709 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1819, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002745/0.1847, allocations: 1.546 MB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007184/0.1854, allocations: 476.8 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.1854, allocations: 0 / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.454e-05/0.1855, allocations: 3.984 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.896e-05/0.1856, allocations: 19.86 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.1857, allocations: 15.98 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.396e-05/0.1858, allocations: 47.86 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.1859, allocations: 15.98 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.186, allocations: 19.92 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.186, allocations: 19.91 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1861, allocations: 4 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.1861, allocations: 0 / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.1861, allocations: 11.98 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.1862, allocations: 27.88 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.95e-05/0.1862, allocations: 40.09 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1863, allocations: 0 / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.41e-07/0.1863, allocations: 3.938 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.1863, allocations: 0 / 0.785 GB, free: 11.64 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004549/0.1867, allocations: 359.5 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1868, allocations: 8.031 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.1868, allocations: 34.75 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.1868, allocations: 4.844 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.187, allocations: 192.2 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.187, allocations: 4.375 kB / 0.7855 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.187, allocations: 4.375 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1871, allocations: 57.75 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1871, allocations: 3.984 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1871, allocations: 4 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.1871, allocations: 4 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.557e-05/0.1872, allocations: 19.98 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.1877, allocations: 304.7 kB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.282e-05/0.1878, allocations: 58.56 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/0.1878, allocations: 28.92 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.1878, allocations: 0 / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.188, allocations: 75.42 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.188, allocations: 0 / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0001855/0.1882, allocations: 101.5 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.1882, allocations: 59.41 kB / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.1883, allocations: 101.8 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1883, allocations: 29.7 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.1884, allocations: 84.14 kB / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.1884, allocations: 31.62 kB / 0.7865 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.1884, allocations: 29.72 kB / 0.7865 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.1885, allocations: 322.8 kB / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.282e-05/0.1886, allocations: 16.38 kB / 0.7868 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.1886, allocations: 43.36 kB / 0.7869 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.136e-05/0.1887, allocations: 71.36 kB / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1887, allocations: 0 / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001415/0.1889, allocations: 105.5 kB / 0.787 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1889, allocations: 4 kB / 0.787 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1889, allocations: 0 / 0.787 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1889, allocations: 7.938 kB / 0.787 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.189, allocations: 11.94 kB / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.189, allocations: 3.984 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.1891, allocations: 7.984 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1891, allocations: 7.938 kB / 0.7871 GB, free: 9.223 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 0.0001166/0.1892, allocations: 125.2 kB / 0.7872 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.1892, allocations: 7.906 kB / 0.7872 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.1892, allocations: 11.91 kB / 0.7872 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1893, allocations: 3.984 kB / 0.7872 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1893, allocations: 4 kB / 0.7872 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1893, allocations: 0 / 0.7872 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.1897, allocations: 362.4 kB / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1897, allocations: 0 / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.686e-05/0.1897, allocations: 4.281 kB / 0.7876 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1897, allocations: 0 / 0.7876 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1898, allocations: 64 / 0.7876 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.1898, allocations: 11.94 kB / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1898, allocations: 0 / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.1899, allocations: 187.4 kB / 0.7878 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.19, allocations: 77.11 kB / 0.7878 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.19, allocations: 7.984 kB / 0.7878 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.064e-05/0.1901, allocations: 11.94 kB / 0.7879 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.1901, allocations: 7.984 kB / 0.7879 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1901, allocations: 4 kB / 0.7879 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.1902, allocations: 83.28 kB / 0.7879 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1902, allocations: 192 / 0.7879 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002271/0.1904, allocations: 15.98 kB / 0.788 GB, free: 8.215 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003953/0.1908, allocations: 0.724 MB / 0.7887 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.1909, allocations: 47.92 kB / 0.7887 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.1909, allocations: 0 / 0.7887 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.184e-05/0.191, allocations: 31.98 kB / 0.7887 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.1913, allocations: 7.938 kB / 0.7887 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.1924, allocations: 1.368 MB / 0.7901 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.1927, allocations: 0.6848 MB / 0.7908 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.1927, allocations: 8 kB / 0.7908 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.1928, allocations: 27.36 kB / 0.7908 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.1928, allocations: 0 / 0.7908 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01044/0.2032, allocations: 1.54 MB / 0.7923 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.2034, allocations: 212.5 kB / 0.7925 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/1.798, allocations: 0 / 0.7925 GB, free: 3.492 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)