Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.956/1.956, allocations: 288.3 MB / 303.2 MB, free: 8.16 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.001592/0.001592, allocations: 182.4 kB / 371.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 0.6306 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009556/0.0009556, allocations: 100.2 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.0004439, allocations: 16.19 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2887, allocations: 115.3 MB / 0.9794 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00107/0.2898, allocations: 469.8 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.291, allocations: 1.052 MB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.2911, allocations: 3.938 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.2911, allocations: 3.938 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.834e-05/0.2912, allocations: 11.97 kB / 0.9809 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.2915, allocations: 35.91 kB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.137e-05/0.2916, allocations: 47.88 kB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2917, allocations: 16.17 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.821e-05/0.2918, allocations: 19.92 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.2919, allocations: 35.84 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.2919, allocations: 0 / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.292, allocations: 19.97 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.292, allocations: 7.984 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.292, allocations: 37.64 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.2922, allocations: 55.81 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2922, allocations: 4 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.947e-06/0.2922, allocations: 0 / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2922, allocations: 0 / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000692/0.2929, allocations: 371.4 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.293, allocations: 12.03 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.293, allocations: 7.906 kB / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2932, allocations: 171 kB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.2932, allocations: 12 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.2932, allocations: 4 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.2935, allocations: 73.59 kB / 0.9818 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2935, allocations: 0 / 0.9818 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.2935, allocations: 4 kB / 0.9818 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2935, allocations: 0 / 0.9818 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.2937, allocations: 59.95 kB / 0.9819 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.2944, allocations: 332.6 kB / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.2946, allocations: 58.5 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.2946, allocations: 7.984 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.2948, allocations: 83.5 kB / 0.9824 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.2948, allocations: 0 / 0.9824 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004131/0.2952, allocations: 149.6 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.2953, allocations: 51.41 kB / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.2954, allocations: 129.7 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.2954, allocations: 25.7 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.2955, allocations: 100 kB / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.2955, allocations: 7.844 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.2955, allocations: 8 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.2956, allocations: 314.8 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.2957, allocations: 35.97 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.2958, allocations: 81.92 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.2959, allocations: 43.97 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2959, allocations: 0 / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003006/0.2962, allocations: 141.4 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2963, allocations: 4 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2963, allocations: 4.219 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2963, allocations: 4 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2964, allocations: 27.86 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.2964, allocations: 7.984 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.681e-05/0.2965, allocations: 11.91 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.2966, allocations: 7.953 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 8.123e-05/0.2966, allocations: 127.5 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.2967, allocations: 11.91 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.2967, allocations: 8.312 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2967, allocations: 7.938 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2967, allocations: 0 / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2967, allocations: 0 / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.2971, allocations: 390.4 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2972, allocations: 0 / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.2972, allocations: 15.92 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2972, allocations: 0 / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2973, allocations: 0 / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2973, allocations: 0 / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2973, allocations: 7.953 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.2975, allocations: 211.8 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.2976, allocations: 85.02 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.2976, allocations: 0 / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.2977, allocations: 15.98 kB / 0.9843 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.2977, allocations: 8 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.2977, allocations: 7.953 kB / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.2978, allocations: 91.27 kB / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.2978, allocations: 0 / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003014/0.2981, allocations: 16 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001751/0.2983, allocations: 107.2 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.2986, allocations: 87.89 kB / 0.9846 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2986, allocations: 0 / 0.9846 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.2987, allocations: 40.47 kB / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.2989, allocations: 16 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.2993, allocations: 169.2 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.2994, allocations: 0.7043 MB / 0.9855 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.214e-05/0.2995, allocations: 7.781 kB / 0.9855 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.2995, allocations: 11.44 kB / 0.9855 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of SimCode: time 7.22e-07/0.2995, allocations: 0 / 0.9855 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.003385/0.3029, allocations: 0.8354 MB / 0.9863 GB, free: 20.19 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)