Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001127, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001103/0.001103, allocations: 177.3 kB / 15.95 MB, free: 216 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.553/1.553, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.79/1.79, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005495/0.0005499, allocations: 20.84 kB / 0.6736 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2749, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001143/0.2761, allocations: 474.2 kB / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.2779, allocations: 1.201 MB / 0.7888 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.181e-05/0.278, allocations: 4 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.2781, allocations: 3.938 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.2782, allocations: 19.95 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007784/0.279, allocations: 222 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.2792, allocations: 127.8 kB / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2794, allocations: 16.22 kB / 0.7891 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.2795, allocations: 87.8 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.2797, allocations: 75.77 kB / 0.7893 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.2797, allocations: 12 kB / 0.7893 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.2798, allocations: 23.98 kB / 0.7893 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.2799, allocations: 31.95 kB / 0.7893 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.304e-05/0.28, allocations: 53.64 kB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.2802, allocations: 151.9 kB / 0.7895 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2802, allocations: 0 / 0.7895 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2802, allocations: 3.938 kB / 0.7895 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.2802, allocations: 0 / 0.7895 GB, free: 9.461 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007109/0.2809, allocations: 470.5 kB / 0.79 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.281, allocations: 8.031 kB / 0.79 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.696e-05/0.2811, allocations: 19.89 kB / 0.79 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.2817, allocations: 258.7 kB / 0.7903 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-05/0.2818, allocations: 19.98 kB / 0.7903 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.2818, allocations: 16 kB / 0.7903 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.2822, allocations: 131.3 kB / 0.7904 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2822, allocations: 0 / 0.7904 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.2822, allocations: 4 kB / 0.7904 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.2822, allocations: 4 kB / 0.7904 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.2824, allocations: 63.83 kB / 0.7905 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.2834, allocations: 0.5279 MB / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.2838, allocations: 161.3 kB / 0.7912 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.2838, allocations: 0 / 0.7912 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004137/0.2842, allocations: 212.7 kB / 0.7914 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 2.465e-06/0.2842, allocations: 0 / 0.7914 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0006258/0.2849, allocations: 313.4 kB / 0.7917 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.2849, allocations: 89.03 kB / 0.7918 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2851, allocations: 137.7 kB / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.2851, allocations: 45.69 kB / 0.7919 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.2852, allocations: 92.7 kB / 0.792 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/0.2853, allocations: 51.34 kB / 0.7921 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.2853, allocations: 8 kB / 0.7921 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2855, allocations: 326.8 kB / 0.7924 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.2857, allocations: 88.23 kB / 0.7925 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.2859, allocations: 152.2 kB / 0.7926 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.2861, allocations: 139.3 kB / 0.7927 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2861, allocations: 0 / 0.7927 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006032/0.2868, allocations: 364.6 kB / 0.7931 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.44e-05/0.2868, allocations: 66.22 kB / 0.7932 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2868, allocations: 4 kB / 0.7932 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.2869, allocations: 384 / 0.7932 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.287, allocations: 23.92 kB / 0.7932 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.287, allocations: 80 / 0.7932 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.2874, allocations: 87.94 kB / 0.7933 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.2875, allocations: 35.86 kB / 0.7933 GB, free: 5.293 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000165/0.2877, allocations: 144 kB / 0.7934 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.2877, allocations: 15.91 kB / 0.7935 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.2878, allocations: 16.48 kB / 0.7935 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2878, allocations: 4 kB / 0.7935 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.2878, allocations: 0 / 0.7935 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2878, allocations: 0 / 0.7935 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006381/0.2884, allocations: 0.6147 MB / 0.7941 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2884, allocations: 0 / 0.7941 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.2885, allocations: 7.984 kB / 0.7941 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.2885, allocations: 4 kB / 0.7941 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.2885, allocations: 11.92 kB / 0.7941 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2885, allocations: 4 kB / 0.7941 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2885, allocations: 0 / 0.7941 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.289, allocations: 426.9 kB / 0.7945 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.289, allocations: 92.94 kB / 0.7946 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.2891, allocations: 8 kB / 0.7946 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.2892, allocations: 15.98 kB / 0.7946 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.2893, allocations: 27.91 kB / 0.7946 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.2893, allocations: 11.98 kB / 0.7947 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.2894, allocations: 105.3 kB / 0.7948 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2894, allocations: 7.938 kB / 0.7948 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003581/0.2897, allocations: 55.91 kB / 0.7948 GB, free: 3.633 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001813/0.2899, allocations: 119 kB / 0.7949 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004732/0.2904, allocations: 353.5 kB / 0.7953 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2904, allocations: 0 / 0.7953 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.2906, allocations: 112.3 kB / 0.7954 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.2909, allocations: 24.25 kB / 0.7954 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005216/0.2914, allocations: 296.6 kB / 0.7957 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.2917, allocations: 0.7125 MB / 0.7964 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.86e-05/0.2918, allocations: 17.55 kB / 0.7964 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.2918, allocations: 23.44 kB / 0.7964 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2918, allocations: 0 / 0.7964 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of Templates: time 0.005756/0.2976, allocations: 2.362 MB / 0.7987 GB, free: 15.56 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) Environment - environmentSimulation: