Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.74/1.74, allocations: 287.4 MB / 303.2 MB, free: 8.188 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.001165/0.001165, allocations: 182 kB / 371.8 MB, free: 10.84 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.798/1.798, allocations: 205.4 MB / 0.6304 GB, free: 10.61 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.0007626/0.0007627, allocations: 97.27 kB / 0.7438 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005665/0.0005668, allocations: 13.38 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2803, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.0008374/0.2812, allocations: 473.6 kB / 0.9798 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2822, allocations: 1.051 MB / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.2823, allocations: 3.938 kB / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.2823, allocations: 0 / 0.9808 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.175e-05/0.2824, allocations: 3.938 kB / 0.9808 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.2827, allocations: 47.89 kB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.346e-05/0.2828, allocations: 59.78 kB / 0.9809 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.2829, allocations: 24.17 kB / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.233e-05/0.283, allocations: 23.91 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.283, allocations: 23.86 kB / 0.981 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.283, allocations: 4 kB / 0.981 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.392e-05/0.2831, allocations: 15.98 kB / 0.981 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.2831, allocations: 11.97 kB / 0.981 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.2832, allocations: 37.64 kB / 0.981 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.733e-05/0.2833, allocations: 48.17 kB / 0.9811 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2833, allocations: 0 / 0.9811 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2833, allocations: 4 kB / 0.9811 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.2833, allocations: 0 / 0.9811 GB, free: 26.35 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.000411/0.2837, allocations: 379.1 kB / 0.9814 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2838, allocations: 8.031 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.2838, allocations: 12.78 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.362e-05/0.2839, allocations: 176.3 kB / 0.9816 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.2839, allocations: 4.375 kB / 0.9816 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.2839, allocations: 12.31 kB / 0.9816 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.2841, allocations: 70.23 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2841, allocations: 3.938 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.2841, allocations: 3.984 kB / 0.9817 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2841, allocations: 0 / 0.9817 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.2844, allocations: 55.97 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.2849, allocations: 328.6 kB / 0.9821 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.2851, allocations: 62.55 kB / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.262e-05/0.2852, allocations: 36.97 kB / 0.9822 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.2852, allocations: 0 / 0.9822 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.2854, allocations: 91.41 kB / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.993e-06/0.2854, allocations: 3.984 kB / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003691/0.2858, allocations: 149.5 kB / 0.9824 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.2858, allocations: 55.41 kB / 0.9825 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.747e-05/0.2859, allocations: 117.8 kB / 0.9826 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.2859, allocations: 25.7 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.286, allocations: 92.05 kB / 0.9827 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.286, allocations: 23.73 kB / 0.9827 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.286, allocations: 4 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.286, allocations: 318.8 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.782e-05/0.2862, allocations: 39.97 kB / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.2863, allocations: 85.86 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.2865, allocations: 113.9 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2865, allocations: 4 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002588/0.2867, allocations: 141.4 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2868, allocations: 4 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2868, allocations: 4 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2868, allocations: 0 / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.2869, allocations: 28.19 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2869, allocations: 8 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.287, allocations: 8 kB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.287, allocations: 7.938 kB / 0.9835 GB, free: 23.66 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 6.808e-05/0.2871, allocations: 125.7 kB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.2871, allocations: 7.906 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.2871, allocations: 8.375 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2871, allocations: 0 / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.2872, allocations: 4 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.2872, allocations: 88.95 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.2872, allocations: 3.984 kB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.2873, allocations: 15.94 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.2873, allocations: 3.984 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002585/0.2876, allocations: 200.9 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002355/0.2878, allocations: 287.1 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.395e-05/0.2879, allocations: 39.97 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.288, allocations: 95.86 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of Backend: time 3.01e-07/0.288, allocations: 0 / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004779/0.2885, allocations: 139.2 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003882/0.2889, allocations: 0.6204 MB / 0.985 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of Templates: time 0.002797/0.2917, allocations: 0.9165 MB / 0.9859 GB, free: 21.03 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)