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.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.861/1.861, allocations: 288.4 MB / 303.7 MB, free: 8.094 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.001485/0.001485, allocations: 179.4 kB / 372.3 MB, free: 10.13 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.955/1.955, allocations: 205.4 MB / 0.631 GB, free: 9.926 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.0009401/0.0009408, allocations: 91.52 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000497/0.0004971, allocations: 13.25 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3431, allocations: 115.3 MB / 0.9802 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001327/0.3445, allocations: 469.8 kB / 0.9806 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.3465, allocations: 1.056 MB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.843e-05/0.3466, allocations: 0 / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.3467, allocations: 0 / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.3468, allocations: 19.86 kB / 0.9817 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.3473, allocations: 41.95 kB / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.3475, allocations: 59.78 kB / 0.9818 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.3477, allocations: 20.17 kB / 0.9818 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.3478, allocations: 19.92 kB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.869e-05/0.3479, allocations: 35.83 kB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.348, allocations: 0 / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.811e-05/0.3481, allocations: 23.98 kB / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.3481, allocations: 7.922 kB / 0.9819 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.93e-05/0.3482, allocations: 49.58 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.3484, allocations: 56.14 kB / 0.982 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3484, allocations: 4 kB / 0.982 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3484, allocations: 0 / 0.982 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.3484, allocations: 0 / 0.982 GB, free: 25.46 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.0006838/0.3491, allocations: 371.2 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 9.235e-05/0.3492, allocations: 12.03 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.3493, allocations: 8.844 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.3494, allocations: 172.3 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.3495, allocations: 4.375 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3495, allocations: 4.375 kB / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.3498, allocations: 78.09 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3498, allocations: 3.938 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3498, allocations: 8 kB / 0.9826 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.3499, allocations: 0 / 0.9826 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.3501, allocations: 55.95 kB / 0.9826 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008265/0.351, allocations: 336.6 kB / 0.983 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.3512, allocations: 54.56 kB / 0.983 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3514, allocations: 40.95 kB / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.3514, allocations: 0 / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002805/0.3517, allocations: 83.38 kB / 0.9831 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/0.3517, allocations: 4 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005921/0.3523, allocations: 149.8 kB / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.3524, allocations: 59.39 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3525, allocations: 121.8 kB / 0.9835 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3525, allocations: 29.7 kB / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.3526, allocations: 92.03 kB / 0.9836 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.3526, allocations: 19.75 kB / 0.9836 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.884e-06/0.3527, allocations: 0 / 0.9836 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.3527, allocations: 326.8 kB / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.3529, allocations: 31.98 kB / 0.9839 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.3531, allocations: 86.28 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.3534, allocations: 121.9 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3534, allocations: 0 / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004277/0.3539, allocations: 145.6 kB / 0.9843 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3539, allocations: 8 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3539, allocations: 0 / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.354, allocations: 4 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.3541, allocations: 19.92 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3542, allocations: 4 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.3543, allocations: 15.98 kB / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.3543, allocations: 4.062 kB / 0.9843 GB, free: 22.77 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 0.0001033/0.3544, allocations: 129.7 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.3545, allocations: 7.906 kB / 0.9845 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.716e-05/0.3545, allocations: 16.36 kB / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3545, allocations: 0 / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.3545, allocations: 0 / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3546, allocations: 0 / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/0.3551, allocations: 386.3 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3551, allocations: 7.922 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/0.3552, allocations: 11.94 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.3552, allocations: 0 / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3553, allocations: 0 / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3553, allocations: 11.94 kB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3553, allocations: 3.984 kB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.3557, allocations: 203.5 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.3557, allocations: 89.02 kB / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.3558, allocations: 3.984 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.3559, allocations: 11.94 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.356, allocations: 3.984 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.356, allocations: 4 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.3561, allocations: 95.2 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3561, allocations: 0 / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004532/0.3566, allocations: 16 kB / 0.9853 GB, free: 21.7 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.0002485/0.3568, allocations: 111.2 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004464/0.3573, allocations: 87.86 kB / 0.9855 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3573, allocations: 4.438 kB / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.3575, allocations: 43.97 kB / 0.9855 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.3579, allocations: 12 kB / 0.9855 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.3585, allocations: 177.2 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.3588, allocations: 0.6887 MB / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.944e-05/0.3588, allocations: 7.781 kB / 0.9864 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.3589, allocations: 11.44 kB / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of SimCode: time 7.81e-07/0.3589, allocations: 0 / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.004291/0.3632, allocations: 0.8561 MB / 0.9872 GB, free: 19.68 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)