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: translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 104.6 kB / 16.35 MB, free: 5.879 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.001042/0.001042, allocations: 195.1 kB / 17.29 MB, free: 5.516 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.376/1.376, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.78/1.78, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001429/0.001429, allocations: 63.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2187, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002644/0.2214, allocations: 1.481 MB / 0.7862 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007167/0.2221, allocations: 483.7 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.2222, allocations: 0 / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.2222, allocations: 7.922 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.786e-05/0.2223, allocations: 7.938 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.2225, allocations: 27.91 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.126e-05/0.2226, allocations: 51.84 kB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2227, allocations: 11.98 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.555e-05/0.2228, allocations: 23.88 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.718e-05/0.2228, allocations: 23.91 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.2229, allocations: 8 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.2229, allocations: 4 kB / 0.7868 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.2229, allocations: 7.984 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.2229, allocations: 27.86 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.93e-05/0.223, allocations: 39.88 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.223, allocations: 0 / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2231, allocations: 0 / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2231, allocations: 0 / 0.7869 GB, free: 0.957 MB / 0.6544 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.0005054/0.2236, allocations: 367.3 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2236, allocations: 12.03 kB / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.2237, allocations: 8.844 kB / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.2238, allocations: 168.3 kB / 0.7874 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2238, allocations: 12.25 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.2238, allocations: 4.375 kB / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.2239, allocations: 61.98 kB / 0.7875 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.2239, allocations: 3.984 kB / 0.7875 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.224, allocations: 0 / 0.7875 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.224, allocations: 8 kB / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.688e-05/0.224, allocations: 19.98 kB / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.401/0.625, allocations: 301.3 kB / 0.7878 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.6252, allocations: 55.41 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.514e-05/0.6252, allocations: 27.16 kB / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.6252, allocations: 1.375 kB / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.6255, allocations: 72.45 kB / 0.788 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.334e-06/0.6255, allocations: 0 / 0.788 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0002509/0.6257, allocations: 103 kB / 0.7881 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.6258, allocations: 58.22 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.765e-05/0.6259, allocations: 104.9 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.6259, allocations: 32.11 kB / 0.7883 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.6259, allocations: 84.95 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.626, allocations: 26.25 kB / 0.7884 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.626, allocations: 25.56 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.6261, allocations: 320.8 kB / 0.7887 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.471e-05/0.6261, allocations: 18.16 kB / 0.7887 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-05/0.6262, allocations: 45.47 kB / 0.7888 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.142e-05/0.6263, allocations: 65.53 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6263, allocations: 0.5469 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001291/0.6264, allocations: 95.53 kB / 0.7889 GB, free: 48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6264, allocations: 9.812 kB / 0.7889 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6264, allocations: 3.594 kB / 0.7889 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.6265, allocations: 0 / 0.7889 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.968e-05/0.6265, allocations: 22.41 kB / 0.7889 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.6266, allocations: 0 / 0.7889 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.197e-05/0.6266, allocations: 6.062 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.6267, allocations: 4.375 kB / 0.789 GB, free: 48 MB / 0.6544 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 6.733e-05/0.6267, allocations: 123.2 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.6267, allocations: 10.34 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.6268, allocations: 6.094 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.6268, allocations: 6.188 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6268, allocations: 0 / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6268, allocations: 0 / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.6271, allocations: 363 kB / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6272, allocations: 0 / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/0.6272, allocations: 9.562 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.6272, allocations: 6.453 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.6272, allocations: 0.8125 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6272, allocations: 0 / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6272, allocations: 0 / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.6274, allocations: 194.9 kB / 0.7896 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.6274, allocations: 77.11 kB / 0.7897 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.6274, allocations: 9.125 kB / 0.7897 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.6275, allocations: 3.938 kB / 0.7897 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.6275, allocations: 6.578 kB / 0.7897 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.6275, allocations: 7.344 kB / 0.7897 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.558e-05/0.6276, allocations: 83.86 kB / 0.7898 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6276, allocations: 0 / 0.7898 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002524/0.6278, allocations: 13.19 kB / 0.7898 GB, free: 47.27 MB / 0.6544 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.0001029/0.628, allocations: 104.8 kB / 0.7899 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.6281, allocations: 56.72 kB / 0.79 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6281, allocations: 0 / 0.79 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.6282, allocations: 26.53 kB / 0.79 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.6285, allocations: 16.72 kB / 0.79 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.6288, allocations: 140.7 kB / 0.7902 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.6289, allocations: 0.683 MB / 0.7908 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.617e-05/0.6289, allocations: 5.844 kB / 0.7908 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.629, allocations: 12.94 kB / 0.7909 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.629, allocations: 1 kB / 0.7909 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.002711/0.6317, allocations: 0.7809 MB / 0.7916 GB, free: 46.37 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (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 & ./Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)