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.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.663/1.663, allocations: 287.5 MB / 302.6 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.0009392/0.0009392, allocations: 176.7 kB / 371.2 MB, free: 10.83 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.707/1.707, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.001002/0.001002, allocations: 93.41 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004572, allocations: 12.44 kB / 0.8661 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3201, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001117/0.3213, allocations: 469.5 kB / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.3229, allocations: 1.051 MB / 0.9802 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.323, allocations: 3.938 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.323, allocations: 0 / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.3231, allocations: 7.922 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.3235, allocations: 39.91 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3237, allocations: 71.77 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.3238, allocations: 16.17 kB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.705e-05/0.3239, allocations: 23.92 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.218e-05/0.324, allocations: 27.84 kB / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.324, allocations: 4 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-05/0.3241, allocations: 15.98 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.3242, allocations: 7.984 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.165e-05/0.3242, allocations: 37.64 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.3244, allocations: 56.16 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.445e-06/0.3244, allocations: 0 / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.786e-06/0.3244, allocations: 0 / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.3244, allocations: 0 / 0.9805 GB, free: 26.33 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.0006622/0.3251, allocations: 379.2 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.3251, allocations: 8.031 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.3252, allocations: 8.844 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3253, allocations: 172.3 kB / 0.981 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3254, allocations: 8.375 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.3254, allocations: 12.31 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.3256, allocations: 70.22 kB / 0.9811 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3257, allocations: 3.938 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3257, allocations: 0 / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.3257, allocations: 0 / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.3259, allocations: 59.95 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.3267, allocations: 328.6 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.3269, allocations: 58.55 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.327, allocations: 44.95 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.3271, allocations: 0 / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.3273, allocations: 83.41 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.3273, allocations: 3.938 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004837/0.3278, allocations: 149.5 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.3279, allocations: 55.41 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.328, allocations: 113.8 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.328, allocations: 25.7 kB / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.3281, allocations: 104 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.3281, allocations: 15.75 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.3281, allocations: 4 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.3282, allocations: 322.8 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.3283, allocations: 35.98 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3285, allocations: 85.86 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.3287, allocations: 113.9 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3288, allocations: 4 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003496/0.3291, allocations: 145.3 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3291, allocations: 4 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3292, allocations: 4.219 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3292, allocations: 4 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.3293, allocations: 23.98 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3294, allocations: 4 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.781e-05/0.3295, allocations: 11.98 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.3295, allocations: 4 kB / 0.9828 GB, free: 23.65 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 9.589e-05/0.3296, allocations: 132.2 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.3296, allocations: 11.91 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.3297, allocations: 8.375 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3297, allocations: 7.984 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3297, allocations: 0 / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3297, allocations: 0 / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/0.3302, allocations: 394.3 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3302, allocations: 0 / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.3303, allocations: 15.98 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3303, allocations: 0 / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3303, allocations: 0 / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3303, allocations: 3.938 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3303, allocations: 0 / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.3306, allocations: 207.5 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.3307, allocations: 85.02 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.3307, allocations: 3.938 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.3308, allocations: 15.92 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.3308, allocations: 11.98 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.3309, allocations: 4 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.3309, allocations: 95.86 kB / 0.9838 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3309, allocations: 0 / 0.9838 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002599/0.3312, allocations: 15.94 kB / 0.9838 GB, free: 22.57 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.0001984/0.3314, allocations: 111.2 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.3316, allocations: 87.88 kB / 0.984 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3316, allocations: 0 / 0.984 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.3318, allocations: 44.34 kB / 0.984 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.332, allocations: 12.33 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.3324, allocations: 174.8 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.3326, allocations: 0.6926 MB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.646e-05/0.3326, allocations: 4 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.3326, allocations: 11.44 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3326, allocations: 0 / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.00316/0.3358, allocations: 0.8475 MB / 0.9857 GB, free: 20.57 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)