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.001499/0.0015, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002055/0.002055, allocations: 191.6 kB / 16.25 MB, free: 6.621 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.489/1.489, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.069/3.069, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 63.03 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3927, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002711/0.3955, allocations: 0.8168 MB / 1.069 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.397, allocations: 1.073 MB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.3971, allocations: 0 / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.036e-05/0.3971, allocations: 7.938 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.349e-05/0.3972, allocations: 7.938 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.3976, allocations: 43.89 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.3977, allocations: 67.84 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.3979, allocations: 28.09 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.398, allocations: 31.91 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.398, allocations: 31.91 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.3981, allocations: 7.938 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.149e-05/0.3981, allocations: 19.98 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.3982, allocations: 15.98 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.3982, allocations: 31.8 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.3984, allocations: 79.73 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.3984, allocations: 0 / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3984, allocations: 0 / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3984, allocations: 4 kB / 1.07 GB, free: 8.508 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.0005992/0.399, allocations: 379.5 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3991, allocations: 8.031 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.3991, allocations: 12.78 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.3993, allocations: 176.2 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3993, allocations: 8.375 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3993, allocations: 4.375 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.3995, allocations: 74.16 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3996, allocations: 3.938 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3996, allocations: 3.984 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3996, allocations: 0 / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.3998, allocations: 47.91 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007597/0.4005, allocations: 324.7 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.4007, allocations: 54.55 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.48e-05/0.4008, allocations: 28.97 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.4009, allocations: 4 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.4011, allocations: 83.27 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.4011, allocations: 0 / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004814/0.4016, allocations: 129.7 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.4017, allocations: 55.41 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.4019, allocations: 121.7 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.4019, allocations: 29.7 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.402, allocations: 92.14 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.402, allocations: 23.72 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.4021, allocations: 29.7 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4022, allocations: 322.8 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.4024, allocations: 27.97 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.4025, allocations: 77.92 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.4028, allocations: 109.8 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4028, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003175/0.4031, allocations: 129.6 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4031, allocations: 12 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4031, allocations: 0 / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.4032, allocations: 4 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.4033, allocations: 19.92 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.4033, allocations: 4.297 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.051e-05/0.4034, allocations: 12 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.4034, allocations: 4 kB / 1.072 GB, free: 5.875 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.0001068/0.4036, allocations: 121.8 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.4036, allocations: 15.84 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.4036, allocations: 8.375 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.4036, allocations: 4 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4036, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4036, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.4041, allocations: 374.4 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4041, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.4042, allocations: 15.92 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4042, allocations: 0 / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.4042, allocations: 0 / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.4042, allocations: 7.938 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4042, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.4046, allocations: 195.5 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.4046, allocations: 96.95 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.4047, allocations: 3.938 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.4048, allocations: 15.92 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.4048, allocations: 0 / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.4048, allocations: 4 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.932e-05/0.4049, allocations: 95.27 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.814e-06/0.4049, allocations: 0 / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002546/0.4051, allocations: 19.94 kB / 1.073 GB, free: 4.816 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.0002356/0.4054, allocations: 111.2 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.4057, allocations: 75.89 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4057, allocations: 0 / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.4058, allocations: 35.97 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.4061, allocations: 17.34 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.4066, allocations: 183.9 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.407, allocations: 0.6885 MB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.407, allocations: 19.77 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.407, allocations: 11.44 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4071, allocations: 0 / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of Templates: time 0.003497/0.4106, allocations: 0.9052 MB / 1.075 GB, free: 2.758 MB / 0.8262 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)