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.0008298/0.0008298, allocations: 98.27 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.005048/0.005048, allocations: 170.2 kB / 16.27 MB, free: 6.332 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.228/1.228, allocations: 205.4 MB / 222.4 MB, free: 5.543 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.532/1.532, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0004528/0.0004529, allocations: 13.91 kB / 0.6744 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1705, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001408/0.172, allocations: 1.215 MB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006224/0.1726, allocations: 468.9 kB / 0.7896 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.1727, allocations: 0 / 0.7896 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.1727, allocations: 4 kB / 0.7896 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.303e-05/0.1728, allocations: 7.922 kB / 0.7896 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.1729, allocations: 19.98 kB / 0.7897 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.808e-05/0.173, allocations: 51.78 kB / 0.7897 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.788e-05/0.1731, allocations: 12 kB / 0.7897 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.1731, allocations: 19.92 kB / 0.7897 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.1732, allocations: 19.91 kB / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1732, allocations: 0 / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.1732, allocations: 8 kB / 0.7898 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.1732, allocations: 7.922 kB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.1733, allocations: 53.56 kB / 0.7898 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.015e-05/0.1734, allocations: 36.11 kB / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1734, allocations: 0 / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1734, allocations: 0 / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.1734, allocations: 0 / 0.7899 GB, free: 9.512 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.0004144/0.1738, allocations: 351.5 kB / 0.7902 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1739, allocations: 12.03 kB / 0.7902 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.1739, allocations: 34.75 kB / 0.7902 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.1739, allocations: 12.83 kB / 0.7902 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.174, allocations: 168.3 kB / 0.7904 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.1741, allocations: 4.375 kB / 0.7904 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.1741, allocations: 8.375 kB / 0.7904 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.745e-05/0.1742, allocations: 61.8 kB / 0.7905 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.1742, allocations: 0 / 0.7905 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1742, allocations: 0 / 0.7905 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1742, allocations: 4 kB / 0.7905 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.778e-05/0.1743, allocations: 31.92 kB / 0.7905 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.1747, allocations: 300.7 kB / 0.7908 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.473e-05/0.1748, allocations: 62.59 kB / 0.7909 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.1748, allocations: 24.94 kB / 0.7909 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.1749, allocations: 3.938 kB / 0.7909 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.175, allocations: 71.38 kB / 0.791 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.175, allocations: 0 / 0.791 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000193/0.1752, allocations: 97.91 kB / 0.791 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.1753, allocations: 59.48 kB / 0.7911 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.1753, allocations: 113.7 kB / 0.7912 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1753, allocations: 33.7 kB / 0.7912 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.1754, allocations: 84.12 kB / 0.7913 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.1754, allocations: 27.64 kB / 0.7913 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.1755, allocations: 25.64 kB / 0.7914 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.1755, allocations: 322.8 kB / 0.7917 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.291e-05/0.1756, allocations: 15.98 kB / 0.7917 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.708e-05/0.1756, allocations: 47.42 kB / 0.7917 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.441e-05/0.1757, allocations: 63.38 kB / 0.7918 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1757, allocations: 0 / 0.7918 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001254/0.1758, allocations: 89.61 kB / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1759, allocations: 8 kB / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1759, allocations: 0 / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1759, allocations: 4 kB / 0.7919 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.176, allocations: 15.97 kB / 0.7919 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.176, allocations: 3.984 kB / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/0.176, allocations: 15.91 kB / 0.7919 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.176, allocations: 3.938 kB / 0.7919 GB, free: 7.117 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 7.634e-05/0.1761, allocations: 121.1 kB / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.1761, allocations: 0 / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.1762, allocations: 11.95 kB / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1762, allocations: 4.062 kB / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1762, allocations: 8 kB / 0.7921 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1762, allocations: 0 / 0.7921 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.1765, allocations: 362.3 kB / 0.7924 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1766, allocations: 3.938 kB / 0.7924 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.359e-05/0.1766, allocations: 7.938 kB / 0.7924 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1766, allocations: 0 / 0.7924 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1766, allocations: 12 kB / 0.7924 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1766, allocations: 7.922 kB / 0.7925 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1766, allocations: 0 / 0.7925 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.1768, allocations: 175.5 kB / 0.7926 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.1768, allocations: 85.02 kB / 0.7927 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.1768, allocations: 7.984 kB / 0.7927 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.1769, allocations: 7.938 kB / 0.7927 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.1769, allocations: 12.27 kB / 0.7927 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.177, allocations: 4 kB / 0.7927 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.583e-05/0.177, allocations: 91.25 kB / 0.7928 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.177, allocations: 0 / 0.7928 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000212/0.1772, allocations: 12 kB / 0.7928 GB, free: 6.102 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.0003487/0.1776, allocations: 0.7202 MB / 0.7935 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1777, allocations: 51.92 kB / 0.7936 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1777, allocations: 0 / 0.7936 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.744e-05/0.1777, allocations: 31.92 kB / 0.7936 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.178, allocations: 14.89 kB / 0.7936 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009796/0.179, allocations: 1.369 MB / 0.795 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.1792, allocations: 0.6891 MB / 0.7956 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.1792, allocations: 4 kB / 0.7956 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.1793, allocations: 19.42 kB / 0.7957 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1793, allocations: 4 kB / 0.7957 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.1995, allocations: 1.467 MB / 0.7971 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.1998, allocations: 211.7 kB / 0.7973 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/1.709, allocations: 4.625 kB / 0.7973 GB, free: 1.477 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)