Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 98.27 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.01003/0.01003, allocations: 170.6 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.555/1.555, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.185/3.185, allocations: 473.4 MB / 0.7469 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003912, allocations: 10.22 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3908, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001159/0.392, allocations: 488.9 kB / 1.075 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.3938, allocations: 1.073 MB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.3939, allocations: 0 / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.3939, allocations: 4 kB / 1.076 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.394, allocations: 3.938 kB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.3943, allocations: 51.89 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.3945, allocations: 63.78 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3946, allocations: 20.16 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.383e-05/0.3947, allocations: 27.8 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.3948, allocations: 27.91 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3948, allocations: 4 kB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.67e-05/0.3949, allocations: 23.92 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.3949, allocations: 11.97 kB / 1.076 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.395, allocations: 49.58 kB / 1.076 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.3952, allocations: 71.73 kB / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3952, allocations: 3.984 kB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3952, allocations: 0 / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3952, allocations: 0 / 1.076 GB, free: 5.621 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.0006286/0.3958, allocations: 375.6 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3959, allocations: 8.031 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.3959, allocations: 8.922 kB / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3961, allocations: 176.2 kB / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/0.3962, allocations: 8.312 kB / 1.077 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3962, allocations: 4.375 kB / 1.077 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.3964, allocations: 70.22 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3964, allocations: 11.94 kB / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3965, allocations: 7.984 kB / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3965, allocations: 0 / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.3967, allocations: 51.95 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007261/0.3974, allocations: 332.6 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.3976, allocations: 66.55 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3977, allocations: 36.95 kB / 1.077 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.3978, allocations: 0 / 1.077 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.3981, allocations: 87.41 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.3982, allocations: 0 / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004879/0.3986, allocations: 137.5 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.3987, allocations: 63.39 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3988, allocations: 117.8 kB / 1.078 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.3989, allocations: 29.7 kB / 1.078 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.399, allocations: 96.03 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.399, allocations: 19.73 kB / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.3991, allocations: 17.72 kB / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3992, allocations: 326.7 kB / 1.078 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.3994, allocations: 43.91 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.3995, allocations: 73.98 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.3998, allocations: 125.8 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3998, allocations: 0 / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003666/0.4002, allocations: 145.5 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4002, allocations: 4 kB / 1.078 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4002, allocations: 4 kB / 1.078 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4002, allocations: 0 / 1.078 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4004, allocations: 23.98 kB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4004, allocations: 3.984 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.411e-05/0.4005, allocations: 8.062 kB / 1.078 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.4005, allocations: 12 kB / 1.078 GB, free: 2.91 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.0001232/0.4007, allocations: 127.6 kB / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.4007, allocations: 11.91 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.4007, allocations: 4.375 kB / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4007, allocations: 0 / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4007, allocations: 0 / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.4007, allocations: 0 / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.4013, allocations: 390.4 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4013, allocations: 4 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.4014, allocations: 15.98 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4014, allocations: 0 / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.4014, allocations: 4 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4014, allocations: 3.938 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4014, allocations: 0 / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.4018, allocations: 215.3 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.4019, allocations: 88.95 kB / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.4019, allocations: 0 / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.402, allocations: 11.92 kB / 1.079 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.4021, allocations: 8 kB / 1.079 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.4021, allocations: 4 kB / 1.079 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.814e-05/0.4022, allocations: 91.27 kB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4022, allocations: 0 / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002687/0.4024, allocations: 12 kB / 1.079 GB, free: 1.84 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.0002376/0.4027, allocations: 115.2 kB / 1.079 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.403, allocations: 84.2 kB / 1.08 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.403, allocations: 4.125 kB / 1.08 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.4032, allocations: 39.91 kB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.4034, allocations: 16.92 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.4039, allocations: 178 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.4042, allocations: 0.6887 MB / 1.08 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.263e-05/0.4042, allocations: 7.781 kB / 1.08 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.4043, allocations: 15.42 kB / 1.08 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.4043, allocations: 0 / 1.08 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of Templates: time 0.004322/0.4086, allocations: 0.8716 MB / 1.081 GB, free: 15.76 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)