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.00118/0.00118, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.00137/0.001371, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.359/1.359, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.838/1.838, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001454/0.001454, allocations: 67.03 kB / 0.6721 GB, free: 6.613 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2469, allocations: 114.6 MB / 0.784 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002805/0.2497, allocations: 1.48 MB / 0.7855 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008715/0.2506, allocations: 495.7 kB / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.2507, allocations: 0 / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.2507, allocations: 3.938 kB / 0.7859 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.855e-05/0.2508, allocations: 11.86 kB / 0.7859 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.251, allocations: 15.98 kB / 0.786 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.316e-05/0.2511, allocations: 55.78 kB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.2512, allocations: 23.97 kB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.284e-05/0.2513, allocations: 19.94 kB / 0.7861 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.2513, allocations: 23.89 kB / 0.7861 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.2514, allocations: 4 kB / 0.7861 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.2514, allocations: 4 kB / 0.7861 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.2514, allocations: 12 kB / 0.7861 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.2515, allocations: 23.86 kB / 0.7861 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.561e-05/0.2516, allocations: 36.17 kB / 0.7862 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2516, allocations: 0 / 0.7862 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2516, allocations: 0 / 0.7862 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2516, allocations: 0 / 0.7862 GB, free: 1.727 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.0005335/0.2521, allocations: 363.4 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2522, allocations: 8.031 kB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.2522, allocations: 16.77 kB / 0.7865 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.2524, allocations: 168.3 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2524, allocations: 4.375 kB / 0.7867 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.2524, allocations: 4.375 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.2525, allocations: 65.92 kB / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2526, allocations: 0 / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.2526, allocations: 3.938 kB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2526, allocations: 4 kB / 0.7868 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.003e-05/0.2527, allocations: 31.92 kB / 0.7868 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.2532, allocations: 300.7 kB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.2533, allocations: 58.59 kB / 0.7871 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.2533, allocations: 28.95 kB / 0.7872 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.2533, allocations: 0 / 0.7872 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.2535, allocations: 71.38 kB / 0.7872 GB, free: 468 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.2535, allocations: 0 / 0.7872 GB, free: 468 kB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0002216/0.2538, allocations: 93.62 kB / 0.7873 GB, free: 368 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.2538, allocations: 59.39 kB / 0.7874 GB, free: 296 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.956e-05/0.2539, allocations: 109.7 kB / 0.7875 GB, free: 176 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.2539, allocations: 37.69 kB / 0.7875 GB, free: 132 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/0.254, allocations: 80.14 kB / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.2541, allocations: 27.64 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3947/0.6487, allocations: 25.31 kB / 0.7876 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.209e-05/0.6488, allocations: 319 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.6489, allocations: 18.58 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.916e-05/0.6489, allocations: 45.61 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.438e-05/0.649, allocations: 64.8 kB / 0.7881 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.649, allocations: 2.906 kB / 0.7881 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000144/0.6492, allocations: 92.55 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.6492, allocations: 5.781 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.6492, allocations: 2.938 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6492, allocations: 0 / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/0.6493, allocations: 20.2 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6493, allocations: 6.438 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.424e-05/0.6494, allocations: 13.94 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.6494, allocations: 5.344 kB / 0.7882 GB, free: 48.46 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.321e-05/0.6495, allocations: 122.5 kB / 0.7883 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.6495, allocations: 6.062 kB / 0.7883 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.6496, allocations: 9.906 kB / 0.7883 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6496, allocations: 1.938 kB / 0.7884 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6496, allocations: 3.938 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6496, allocations: 4.797 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.6499, allocations: 350.8 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6499, allocations: 0.6875 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.6499, allocations: 8.312 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.65, allocations: 5 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.65, allocations: 0 / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.65, allocations: 0 / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.65, allocations: 8.062 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.6501, allocations: 180.7 kB / 0.7889 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.6501, allocations: 90.53 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.6501, allocations: 0 / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-05/0.6502, allocations: 10.39 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.6503, allocations: 7.828 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.6503, allocations: 3.844 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.363e-05/0.6503, allocations: 83 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6503, allocations: 0.5312 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002569/0.6506, allocations: 20.91 kB / 0.7891 GB, free: 47.75 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 8.585e-05/0.6507, allocations: 96.78 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.6508, allocations: 63.8 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6508, allocations: 0 / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.451e-05/0.6509, allocations: 30.02 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.6512, allocations: 9.188 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.6514, allocations: 167.5 kB / 0.7894 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.784e-05/0.6515, allocations: 0.6814 MB / 0.7901 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.6516, allocations: 15.06 kB / 0.7901 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.6516, allocations: 1.812 kB / 0.7901 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.001802/0.6534, allocations: 0.8605 MB / 0.791 GB, free: 46.81 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)