Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 292.3 MB / 308.1 MB, free: 4.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002027/0.002027, allocations: 190.4 kB / 376.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.1 MB / 0.6354 GB, free: 9.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009834/0.0009831, allocations: 102 kB / 0.748 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 55.92 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2837, allocations: 114.5 MB / 0.9822 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00231/0.2861, allocations: 0.8331 MB / 0.983 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.2877, allocations: 1.152 MB / 0.9842 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/0.2878, allocations: 4 kB / 0.9842 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.137e-05/0.2878, allocations: 3.938 kB / 0.9842 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.2879, allocations: 7.938 kB / 0.9842 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.2884, allocations: 115.8 kB / 0.9843 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.2886, allocations: 107.7 kB / 0.9844 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.2887, allocations: 19.92 kB / 0.9844 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.2888, allocations: 35.92 kB / 0.9844 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.2889, allocations: 39.88 kB / 0.9845 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.2889, allocations: 8 kB / 0.9845 GB, free: 8 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.725e-05/0.289, allocations: 23.98 kB / 0.9845 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.2891, allocations: 7.922 kB / 0.9845 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/0.2891, allocations: 39.84 kB / 0.9846 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.2893, allocations: 111.7 kB / 0.9847 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2893, allocations: 0 / 0.9847 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2893, allocations: 0 / 0.9847 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2893, allocations: 0 / 0.9847 GB, free: 7.82 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000696/0.29, allocations: 413.2 kB / 0.9851 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2901, allocations: 12.03 kB / 0.9851 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.2902, allocations: 16.83 kB / 0.9851 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2903, allocations: 168.2 kB / 0.9852 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2903, allocations: 4.375 kB / 0.9853 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.2904, allocations: 12.38 kB / 0.9853 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.2906, allocations: 62.22 kB / 0.9853 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2906, allocations: 4.172 kB / 0.9853 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.2906, allocations: 7.938 kB / 0.9853 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2906, allocations: 0 / 0.9853 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.2908, allocations: 43.95 kB / 0.9854 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.2913, allocations: 332.7 kB / 0.9857 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.2915, allocations: 62.56 kB / 0.9858 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2916, allocations: 32.95 kB / 0.9858 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.2917, allocations: 4 kB / 0.9858 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.2919, allocations: 91.3 kB / 0.9859 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.292, allocations: 0 / 0.9859 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004291/0.2924, allocations: 137.5 kB / 0.986 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.2924, allocations: 55.41 kB / 0.9861 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.2925, allocations: 121.8 kB / 0.9862 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.2926, allocations: 33.7 kB / 0.9862 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.2926, allocations: 92.05 kB / 0.9863 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.2927, allocations: 23.8 kB / 0.9863 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/0.2928, allocations: 41.7 kB / 0.9864 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2929, allocations: 318.8 kB / 0.9867 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.2931, allocations: 51.97 kB / 0.9867 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.2932, allocations: 88.19 kB / 0.9868 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.2936, allocations: 146.1 kB / 0.9869 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.2936, allocations: 8 kB / 0.9869 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004454/0.294, allocations: 203.2 kB / 0.9871 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.2941, allocations: 41.69 kB / 0.9872 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2941, allocations: 0 / 0.9872 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2941, allocations: 4 kB / 0.9872 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.2942, allocations: 15.92 kB / 0.9872 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2943, allocations: 0 / 0.9872 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.2945, allocations: 35.89 kB / 0.9872 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.2945, allocations: 16.06 kB / 0.9872 GB, free: 4.895 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001165/0.2946, allocations: 125.8 kB / 0.9874 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.2947, allocations: 3.906 kB / 0.9874 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.2947, allocations: 16.36 kB / 0.9874 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2947, allocations: 0 / 0.9874 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.2947, allocations: 0 / 0.9874 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2947, allocations: 3.938 kB / 0.9874 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004635/0.2952, allocations: 374.5 kB / 0.9877 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2952, allocations: 3.984 kB / 0.9878 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/0.2953, allocations: 4 kB / 0.9878 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2953, allocations: 0 / 0.9878 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.2953, allocations: 8 kB / 0.9878 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2953, allocations: 7.922 kB / 0.9878 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2953, allocations: 0 / 0.9878 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/0.296, allocations: 0.7901 MB / 0.9885 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.296, allocations: 81.11 kB / 0.9886 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.2961, allocations: 3.938 kB / 0.9886 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.2962, allocations: 11.92 kB / 0.9886 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.2962, allocations: 11.98 kB / 0.9886 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.2962, allocations: 4 kB / 0.9886 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.408e-05/0.2963, allocations: 95.75 kB / 0.9887 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2963, allocations: 4 kB / 0.9887 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003543/0.2967, allocations: 20 kB / 0.9888 GB, free: 3.195 MB / 0.7136 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001848/0.2969, allocations: 107.2 kB / 0.9889 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003797/0.2972, allocations: 179.3 kB / 0.989 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2973, allocations: 0 / 0.989 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.2974, allocations: 39.91 kB / 0.9891 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.2977, allocations: 18.22 kB / 0.9891 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.2982, allocations: 299.5 kB / 0.9894 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.2984, allocations: 0.6887 MB / 0.9901 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.695e-05/0.2985, allocations: 4 kB / 0.9901 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.2985, allocations: 15.38 kB / 0.9901 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.2985, allocations: 0 / 0.9901 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of Templates: time 0.004129/0.3026, allocations: 1.394 MB / 0.9914 GB, free: 404 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)