Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008097/0.008097, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.191/3.191, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003825, allocations: 9.906 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4495, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001338/0.4509, allocations: 488.9 kB / 1.075 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.4527, allocations: 1.073 MB / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.4528, allocations: 0 / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.4528, allocations: 0 / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.356e-05/0.4529, allocations: 3.938 kB / 1.076 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.4532, allocations: 51.89 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.4533, allocations: 59.84 kB / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.4535, allocations: 28.16 kB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.613e-05/0.4536, allocations: 31.78 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.329e-05/0.4537, allocations: 19.92 kB / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.4537, allocations: 4 kB / 1.076 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.842e-05/0.4538, allocations: 15.98 kB / 1.076 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.4538, allocations: 15.91 kB / 1.076 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.4539, allocations: 53.56 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.4541, allocations: 71.73 kB / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4541, allocations: 0 / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4541, allocations: 4 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.4541, allocations: 0 / 1.076 GB, free: 5.586 MB / 0.8262 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.0006316/0.4547, allocations: 375.5 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4548, allocations: 8.031 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.4548, allocations: 4.938 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.455, allocations: 184.1 kB / 1.077 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.455, allocations: 4.375 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4551, allocations: 4.375 kB / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.4553, allocations: 78.2 kB / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4553, allocations: 3.938 kB / 1.077 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.4554, allocations: 4 kB / 1.077 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4554, allocations: 0 / 1.077 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.4556, allocations: 63.89 kB / 1.077 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008114/0.4564, allocations: 328.6 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.4566, allocations: 58.56 kB / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.4567, allocations: 36.95 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.4568, allocations: 4 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.457, allocations: 87.39 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.457, allocations: 0 / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004877/0.4575, allocations: 145.5 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.4576, allocations: 55.41 kB / 1.077 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.4577, allocations: 117.8 kB / 1.078 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.4577, allocations: 29.7 kB / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.4578, allocations: 96.03 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.4579, allocations: 23.73 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.4579, allocations: 21.7 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4581, allocations: 318.8 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.4582, allocations: 39.91 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.4584, allocations: 82.36 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.4586, allocations: 117.9 kB / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4587, allocations: 3.938 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003523/0.459, allocations: 149.4 kB / 1.078 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.459, allocations: 5.719 kB / 1.078 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.459, allocations: 4 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4591, allocations: 224 / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.4592, allocations: 27.97 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4592, allocations: 4.312 kB / 1.078 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.4593, allocations: 8 kB / 1.078 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.4593, allocations: 7.984 kB / 1.078 GB, free: 2.871 MB / 0.8262 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 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.4595, allocations: 125.7 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.4595, allocations: 7.906 kB / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.4595, allocations: 8.375 kB / 1.079 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4595, allocations: 0 / 1.079 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4595, allocations: 0 / 1.079 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4596, allocations: 4 kB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.4601, allocations: 390.4 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4601, allocations: 0 / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.4602, allocations: 15.98 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4602, allocations: 0 / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.4602, allocations: 0 / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4602, allocations: 3.938 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4602, allocations: 0 / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.4607, allocations: 219.3 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.4608, allocations: 88.95 kB / 1.079 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.4608, allocations: 3.938 kB / 1.079 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/0.4609, allocations: 19.92 kB / 1.079 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.461, allocations: 4 kB / 1.079 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.461, allocations: 4 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002092/0.4612, allocations: 91.27 kB / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4612, allocations: 0 / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002591/0.4615, allocations: 16 kB / 1.079 GB, free: 1.789 MB / 0.8262 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 (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.0002015/0.4617, allocations: 107.2 kB / 1.079 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003194/0.462, allocations: 91.81 kB / 1.08 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.462, allocations: 0 / 1.08 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.4621, allocations: 40.36 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.4624, allocations: 19.97 kB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.4629, allocations: 165.4 kB / 1.08 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.4634, allocations: 0.6939 MB / 1.08 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.475e-05/0.4634, allocations: 15.77 kB / 1.08 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.4635, allocations: 11.44 kB / 1.08 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4635, allocations: 0 / 1.08 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of Templates: time 0.004103/0.4676, allocations: 0.8611 MB / 1.081 GB, free: 15.76 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)