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.001194/0.001194, allocations: 107.2 kB / 16.29 MB, free: 6.023 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.001177/0.001177, allocations: 185.6 kB / 17.22 MB, free: 5.629 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.653/1.653, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.81/1.81, allocations: 292.3 MB / 0.5495 GB, free: 17.44 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.00162/0.00162, allocations: 64.47 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2662, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003368/0.2696, allocations: 1.466 MB / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009669/0.2706, allocations: 491.7 kB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/0.2707, allocations: 0 / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.2707, allocations: 3.938 kB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.2709, allocations: 15.91 kB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.2711, allocations: 19.92 kB / 0.786 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.987e-05/0.2712, allocations: 51.84 kB / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.2713, allocations: 19.98 kB / 0.7861 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.2714, allocations: 19.92 kB / 0.7861 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.2715, allocations: 31.89 kB / 0.7861 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.2715, allocations: 4 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.2715, allocations: 4 kB / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.2715, allocations: 7.938 kB / 0.7861 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.2716, allocations: 27.86 kB / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.2717, allocations: 36.17 kB / 0.7862 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2717, allocations: 0 / 0.7862 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2717, allocations: 4 kB / 0.7862 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2717, allocations: 0 / 0.7862 GB, free: 1.625 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.0005453/0.2723, allocations: 359.3 kB / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2723, allocations: 12.03 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.2724, allocations: 8.844 kB / 0.7866 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.2725, allocations: 172.3 kB / 0.7867 GB, free: 1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.2725, allocations: 4.375 kB / 0.7867 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.2726, allocations: 8.375 kB / 0.7867 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.2727, allocations: 69.86 kB / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2727, allocations: 0 / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2727, allocations: 4 kB / 0.7868 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2728, allocations: 4 kB / 0.7868 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.115e-05/0.2728, allocations: 19.98 kB / 0.7868 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.2734, allocations: 304.6 kB / 0.7871 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.2735, allocations: 58.62 kB / 0.7872 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.2736, allocations: 24.88 kB / 0.7872 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.2736, allocations: 0 / 0.7872 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.2738, allocations: 75.41 kB / 0.7873 GB, free: 368 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.2738, allocations: 0 / 0.7873 GB, free: 368 kB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.000245/0.274, allocations: 93.62 kB / 0.7874 GB, free: 268 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.2741, allocations: 59.39 kB / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.2742, allocations: 113.8 kB / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2742, allocations: 25.7 kB / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.416/0.6902, allocations: 84.8 kB / 0.7876 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.6903, allocations: 24.2 kB / 0.7877 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.6904, allocations: 27.08 kB / 0.7877 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.6905, allocations: 321.7 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.6905, allocations: 15.88 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-05/0.6906, allocations: 48.33 kB / 0.7881 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.6907, allocations: 66.95 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.6907, allocations: 3 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001674/0.6909, allocations: 96.98 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6909, allocations: 6.562 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.6909, allocations: 2.375 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.6909, allocations: 1.219 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.877e-05/0.691, allocations: 13.81 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.6911, allocations: 6.062 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.637e-05/0.6911, allocations: 9.047 kB / 0.7883 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.6912, allocations: 3.781 kB / 0.7883 GB, free: 48.4 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 8.179e-05/0.6912, allocations: 127.8 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.6913, allocations: 7.812 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.6913, allocations: 5.219 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6913, allocations: 8.156 kB / 0.7884 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6913, allocations: 0.5 kB / 0.7884 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6913, allocations: 3.422 kB / 0.7884 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.6917, allocations: 357.6 kB / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6917, allocations: 0 / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-05/0.6918, allocations: 12.91 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6918, allocations: 0 / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.6918, allocations: 5.672 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.6918, allocations: 0 / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6918, allocations: 0 / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.6919, allocations: 184.7 kB / 0.7889 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.692, allocations: 87.3 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.692, allocations: 1.125 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.6921, allocations: 9.359 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.6921, allocations: 8.812 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.6921, allocations: 0 / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.451e-05/0.6922, allocations: 88.98 kB / 0.7891 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6922, allocations: 0 / 0.7891 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002442/0.6924, allocations: 16.34 kB / 0.7891 GB, free: 47.68 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.0001085/0.6926, allocations: 96.25 kB / 0.7892 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.6927, allocations: 57.25 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6927, allocations: 0.5938 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.131e-05/0.6928, allocations: 32.91 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.6931, allocations: 11.45 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.6934, allocations: 146.5 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.6936, allocations: 0.6875 MB / 0.7901 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.6936, allocations: 7.812 kB / 0.7901 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.6937, allocations: 10.44 kB / 0.7902 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6937, allocations: 3.031 kB / 0.7902 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of Templates: time 0.003017/0.6967, allocations: 0.7726 MB / 0.7909 GB, free: 46.78 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)