Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.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_3.0.0_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.0008724/0.0008724, allocations: 96.62 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.007141/0.007142, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.195/3.195, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 10.97 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.408, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001508/0.4096, allocations: 484.9 kB / 1.075 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.4117, allocations: 1.065 MB / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.4118, allocations: 11.88 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.4118, allocations: 0 / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.4119, allocations: 11.91 kB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.4123, allocations: 43.91 kB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.4125, allocations: 67.83 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.4126, allocations: 24.16 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.4128, allocations: 31.8 kB / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.694e-05/0.4129, allocations: 27.89 kB / 1.076 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.4129, allocations: 4 kB / 1.076 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.049e-05/0.413, allocations: 15.98 kB / 1.076 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.413, allocations: 11.94 kB / 1.076 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.4131, allocations: 45.56 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.4133, allocations: 75.73 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4134, allocations: 0 / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.435e-06/0.4134, allocations: 0 / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4134, allocations: 0 / 1.076 GB, free: 5.574 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.0007677/0.4142, allocations: 379.5 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.4142, allocations: 12.03 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.4143, allocations: 4.938 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.4145, allocations: 184.1 kB / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.4145, allocations: 4.312 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.4146, allocations: 8.375 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.4149, allocations: 70.23 kB / 1.077 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.4149, allocations: 3.938 kB / 1.077 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.4149, allocations: 7.984 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4149, allocations: 0 / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.4152, allocations: 51.97 kB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008448/0.416, allocations: 332.6 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.4163, allocations: 62.55 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.4164, allocations: 36.97 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.4164, allocations: 0 / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/0.4167, allocations: 91.41 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.4167, allocations: 0 / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006107/0.4174, allocations: 145.5 kB / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.4174, allocations: 59.41 kB / 1.077 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.4176, allocations: 121.8 kB / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.4176, allocations: 33.64 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.4177, allocations: 88.05 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.4178, allocations: 23.73 kB / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.4179, allocations: 17.72 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.4181, allocations: 330.8 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.4182, allocations: 27.98 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.4184, allocations: 85.91 kB / 1.078 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.4187, allocations: 113.9 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4187, allocations: 3.938 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003915/0.4191, allocations: 149.3 kB / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.4191, allocations: 8 kB / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4191, allocations: 0 / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4192, allocations: 4 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.4193, allocations: 24.2 kB / 1.078 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.4193, allocations: 0 / 1.078 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.58e-05/0.4194, allocations: 11.98 kB / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.4194, allocations: 8 kB / 1.078 GB, free: 2.855 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.000128/0.4196, allocations: 125.7 kB / 1.079 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.4196, allocations: 3.906 kB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.4196, allocations: 16.36 kB / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4197, allocations: 0 / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4197, allocations: 4 kB / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4197, allocations: 0 / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.4202, allocations: 382.4 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4202, allocations: 0 / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.117e-05/0.4203, allocations: 12 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.4203, allocations: 4 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4203, allocations: 0 / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.4203, allocations: 7.922 kB / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4203, allocations: 0 / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.4207, allocations: 215.7 kB / 1.079 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.4207, allocations: 84.95 kB / 1.079 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.4208, allocations: 11.98 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.4209, allocations: 7.938 kB / 1.079 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.4209, allocations: 7.984 kB / 1.079 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.4209, allocations: 0 / 1.079 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.957e-05/0.421, allocations: 99.27 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.421, allocations: 0 / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002773/0.4213, allocations: 16 kB / 1.079 GB, free: 1.777 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.0001951/0.4215, allocations: 107.2 kB / 1.079 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.4218, allocations: 95.94 kB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4218, allocations: 0 / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.422, allocations: 51.84 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.4223, allocations: 4.375 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.4227, allocations: 173.4 kB / 1.08 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.4231, allocations: 0.6895 MB / 1.08 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.662e-05/0.4232, allocations: 7.781 kB / 1.08 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.4232, allocations: 15.44 kB / 1.08 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of SimCode: time 6.92e-07/0.4232, allocations: 0 / 1.08 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of Templates: time 0.004364/0.4276, allocations: 0.8699 MB / 1.081 GB, free: 15.74 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)