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.0009169/0.0009168, 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.007331/0.007331, 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.532/1.532, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.998/2.998, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004119, allocations: 15.19 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4259, allocations: 162.2 MB / 1.074 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001214/0.4272, allocations: 480.9 kB / 1.075 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.4286, allocations: 1.069 MB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.4287, allocations: 0 / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.4287, allocations: 3.984 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.4288, allocations: 15.92 kB / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.4291, allocations: 43.91 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.4293, allocations: 67.83 kB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.4294, allocations: 24.09 kB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.104e-05/0.4295, allocations: 23.86 kB / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.4296, allocations: 35.83 kB / 1.076 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.4296, allocations: 0 / 1.076 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.299e-05/0.4297, allocations: 15.98 kB / 1.076 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.4297, allocations: 15.98 kB / 1.076 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.008e-05/0.4298, allocations: 53.45 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.43, allocations: 67.8 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.43, allocations: 4 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.018e-06/0.43, allocations: 0 / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.43, allocations: 0 / 1.076 GB, free: 5.559 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.0006837/0.4307, allocations: 375.5 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.4307, allocations: 15.97 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.4308, allocations: 4.938 kB / 1.076 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.4309, allocations: 184.1 kB / 1.077 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.431, allocations: 4.375 kB / 1.077 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.431, allocations: 8.375 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.4312, allocations: 70.22 kB / 1.077 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4312, allocations: 3.938 kB / 1.077 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4313, allocations: 0 / 1.077 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4313, allocations: 4 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.4315, allocations: 55.95 kB / 1.077 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007462/0.4322, allocations: 332.6 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.4324, allocations: 54.55 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.4326, allocations: 44.95 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.4326, allocations: 0 / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.4328, allocations: 83.41 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.4329, allocations: 0 / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004744/0.4333, allocations: 145.5 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.4334, allocations: 55.41 kB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.4335, allocations: 125.8 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.4335, allocations: 25.7 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.4336, allocations: 96.03 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.4336, allocations: 19.75 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.4337, allocations: 17.72 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4338, allocations: 322.8 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.4339, allocations: 35.91 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.4341, allocations: 90.3 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.4343, allocations: 117.9 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4344, allocations: 4 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003199/0.4347, allocations: 145.5 kB / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4347, allocations: 5.562 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.4347, allocations: 7.938 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4348, allocations: 8 kB / 1.078 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.4349, allocations: 15.98 kB / 1.078 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4349, allocations: 4 kB / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.287e-05/0.435, allocations: 11.98 kB / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.435, allocations: 8 kB / 1.078 GB, free: 2.844 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.356e-05/0.4351, allocations: 125.8 kB / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.4351, allocations: 11.89 kB / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.4352, allocations: 8.375 kB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.4352, allocations: 4 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4352, allocations: 0 / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4352, allocations: 0 / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.4357, allocations: 386.4 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4357, allocations: 0 / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.4358, allocations: 11.98 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4358, allocations: 3.984 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.4358, allocations: 0 / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4358, allocations: 7.938 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4358, allocations: 4 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.4362, allocations: 203.4 kB / 1.079 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.4362, allocations: 92.94 kB / 1.079 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.4363, allocations: 8 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.4364, allocations: 11.94 kB / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.4364, allocations: 3.984 kB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.4364, allocations: 4 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.4365, allocations: 91.27 kB / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.503e-06/0.4365, allocations: 0 / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002535/0.4367, allocations: 23.94 kB / 1.079 GB, free: 1.762 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.0001876/0.4369, allocations: 107.2 kB / 1.079 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002887/0.4372, allocations: 87.88 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4372, allocations: 448 / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.4374, allocations: 48.38 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.4377, allocations: 4 kB / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.4381, allocations: 177.4 kB / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.4384, allocations: 0.6887 MB / 1.08 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.4385, allocations: 7.781 kB / 1.08 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.4385, allocations: 15.42 kB / 1.08 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.4385, allocations: 0 / 1.08 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of Templates: time 0.003555/0.4421, allocations: 0.8744 MB / 1.081 GB, free: 15.73 MB / 0.8419 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)