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.SampleTriggerNegativeStartTime.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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001995/0.001995, allocations: 193.1 kB / 16.13 MB, free: 6.703 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.529/1.529, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.947/2.947, allocations: 472.6 MB / 0.7447 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 60.22 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4044, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002411/0.4068, allocations: 0.8074 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.4082, allocations: 1.081 MB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.4082, allocations: 0 / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.954e-05/0.4083, allocations: 3.984 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.43e-05/0.4084, allocations: 7.875 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.4087, allocations: 47.95 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.4088, allocations: 71.72 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.4089, allocations: 16.17 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.655e-05/0.409, allocations: 27.91 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.577e-05/0.4091, allocations: 35.84 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.4092, allocations: 0 / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.4093, allocations: 23.92 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.4093, allocations: 11.98 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.4093, allocations: 35.78 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.4095, allocations: 71.75 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4095, allocations: 0 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4095, allocations: 0 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.4095, allocations: 0 / 1.07 GB, free: 8.645 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.0006814/0.4102, allocations: 387.5 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.4103, allocations: 12.02 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.4103, allocations: 8.844 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.4105, allocations: 176.2 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.4105, allocations: 4.375 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.4106, allocations: 4.375 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.4108, allocations: 66.22 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4108, allocations: 3.938 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.4108, allocations: 8 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4108, allocations: 3.984 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.411, allocations: 47.89 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006413/0.4117, allocations: 312.8 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.4119, allocations: 58.55 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.412, allocations: 32.98 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.412, allocations: 4 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.4122, allocations: 83.27 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.4122, allocations: 4 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004154/0.4126, allocations: 121.6 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.4127, allocations: 51.41 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.4128, allocations: 129.7 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.4129, allocations: 25.7 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.4129, allocations: 92.12 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.4129, allocations: 23.75 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.413, allocations: 33.64 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4131, allocations: 322.8 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.4133, allocations: 23.98 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.4134, allocations: 74.3 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.4136, allocations: 109.9 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4136, allocations: 3.938 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003514/0.414, allocations: 133.4 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.414, allocations: 7.984 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.414, allocations: 4.219 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4141, allocations: 4 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.4142, allocations: 19.98 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4142, allocations: 7.922 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.288e-05/0.4143, allocations: 11.98 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.4143, allocations: 4 kB / 1.072 GB, free: 6.008 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 9.578e-05/0.4144, allocations: 121.8 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.4145, allocations: 7.906 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.4145, allocations: 4.375 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4145, allocations: 4 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4145, allocations: 4 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4145, allocations: 3.984 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.415, allocations: 378.3 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.415, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.4151, allocations: 11.98 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4151, allocations: 4 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.4151, allocations: 0 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.4151, allocations: 3.938 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4151, allocations: 0 / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.4155, allocations: 203.4 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.4155, allocations: 84.95 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.4155, allocations: 0 / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/0.4156, allocations: 23.86 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.4157, allocations: 7.984 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.4157, allocations: 4 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.857e-05/0.4158, allocations: 91.27 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4158, allocations: 0 / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002505/0.416, allocations: 16 kB / 1.073 GB, free: 4.953 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.000202/0.4162, allocations: 104.2 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.4165, allocations: 79.88 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4165, allocations: 0 / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.4167, allocations: 31.92 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.417, allocations: 19.39 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.4174, allocations: 172.3 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.4176, allocations: 0.6887 MB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.902e-05/0.4177, allocations: 7.781 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.4177, allocations: 15.38 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.4177, allocations: 4 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of Templates: time 0.00362/0.4213, allocations: 0.8781 MB / 1.075 GB, free: 2.941 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)