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.000734/0.0007339, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0007948/0.0007948, allocations: 168.7 kB / 15.95 MB, free: 204 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.162/1.162, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.488/1.488, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004906/0.0004906, allocations: 15.88 kB / 0.6738 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1767, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001226/0.178, allocations: 1.196 MB / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005335/0.1785, allocations: 465.2 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.1786, allocations: 0 / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.1786, allocations: 3.938 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.081e-05/0.1787, allocations: 3.984 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.1788, allocations: 23.92 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.046e-05/0.1789, allocations: 43.91 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.115e-05/0.1789, allocations: 15.98 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.179, allocations: 11.94 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.179, allocations: 19.91 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.179, allocations: 7.938 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.1791, allocations: 0 / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.1791, allocations: 8 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.1791, allocations: 33.7 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.071e-05/0.1792, allocations: 32.14 kB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1792, allocations: 0 / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1792, allocations: 0 / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.705e-06/0.1792, allocations: 0 / 0.7892 GB, free: 9.977 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.0003736/0.1796, allocations: 351.3 kB / 0.7895 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.1796, allocations: 8.031 kB / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/0.1796, allocations: 42.48 kB / 0.7896 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.185e-05/0.1797, allocations: 11.91 kB / 0.7896 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.211e-05/0.1798, allocations: 174.9 kB / 0.7898 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.1798, allocations: 4 kB / 0.7898 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1798, allocations: 4 kB / 0.7898 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.871e-05/0.1799, allocations: 61.67 kB / 0.7898 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1799, allocations: 7.875 kB / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.1799, allocations: 0 / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1799, allocations: 0 / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.443e-05/0.18, allocations: 31.97 kB / 0.7899 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.1804, allocations: 304.7 kB / 0.7901 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/0.1805, allocations: 58.59 kB / 0.7902 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.1805, allocations: 24.95 kB / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.1805, allocations: 0 / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.1806, allocations: 75.38 kB / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.1807, allocations: 0 / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0001719/0.1808, allocations: 101.6 kB / 0.7904 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.1809, allocations: 55.34 kB / 0.7905 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.1809, allocations: 109.8 kB / 0.7906 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.181, allocations: 29.7 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.181, allocations: 92.12 kB / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.181, allocations: 19.66 kB / 0.7907 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.181, allocations: 4 kB / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.1811, allocations: 318.8 kB / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.33e-05/0.1812, allocations: 20.38 kB / 0.791 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.26e-05/0.1812, allocations: 43.42 kB / 0.7911 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/0.1812, allocations: 19.98 kB / 0.7911 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1812, allocations: 0 / 0.7911 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001184/0.1814, allocations: 97.5 kB / 0.7912 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.1814, allocations: 8.031 kB / 0.7912 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1814, allocations: 3.984 kB / 0.7912 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.1814, allocations: 4 kB / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.589e-05/0.1815, allocations: 11.95 kB / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1815, allocations: 0 / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.1815, allocations: 15.89 kB / 0.7912 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1816, allocations: 8 kB / 0.7912 GB, free: 7.656 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.634e-05/0.1816, allocations: 125 kB / 0.7913 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.1817, allocations: 8 kB / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.1817, allocations: 7.969 kB / 0.7914 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1817, allocations: 0 / 0.7914 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1817, allocations: 3.953 kB / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1817, allocations: 0 / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.182, allocations: 362.3 kB / 0.7917 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.182, allocations: 4.266 kB / 0.7917 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.1821, allocations: 12.06 kB / 0.7917 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.1821, allocations: 4 kB / 0.7917 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1821, allocations: 3.953 kB / 0.7917 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1821, allocations: 3.984 kB / 0.7917 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1821, allocations: 0 / 0.7917 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.1822, allocations: 183.5 kB / 0.7919 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.1823, allocations: 81.02 kB / 0.792 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1823, allocations: 4 kB / 0.792 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.1824, allocations: 19.94 kB / 0.792 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.1824, allocations: 7.984 kB / 0.792 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1824, allocations: 4 kB / 0.792 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.082e-05/0.1825, allocations: 83.28 kB / 0.7921 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.222e-06/0.1825, allocations: 192 / 0.7921 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002119/0.1827, allocations: 11.94 kB / 0.7921 GB, free: 6.645 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 (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.0003263/0.183, allocations: 0.7241 MB / 0.7928 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.1831, allocations: 51.91 kB / 0.7929 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1831, allocations: 4 kB / 0.7929 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.443e-05/0.1832, allocations: 23.94 kB / 0.7929 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.1834, allocations: 11.94 kB / 0.7929 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.184, allocations: 486.6 kB / 0.7934 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.1842, allocations: 0.6848 MB / 0.794 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.1842, allocations: 4 kB / 0.794 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.1842, allocations: 19.42 kB / 0.7941 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1843, allocations: 0 / 0.7941 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009607/0.1939, allocations: 1.49 MB / 0.7955 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.194, allocations: 190 kB / 0.7957 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.421/1.615, allocations: 0 / 0.7957 GB, free: 2.977 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/linux/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) Environment - environmentSimulation: