Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001258/0.001258, 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.001309/0.001309, allocations: 190.9 kB / 16.13 MB, free: 6.656 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.498/1.498, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.973/2.973, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 65.2 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4437, 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.SampleTriggerPositiveStartTime): time 0.002414/0.4462, allocations: 0.8109 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.4479, allocations: 1.081 MB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.448, allocations: 0 / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.207e-05/0.448, allocations: 3.984 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.4482, allocations: 15.88 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.4485, allocations: 43.34 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.4486, allocations: 67.83 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.4488, allocations: 28.03 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.4489, allocations: 23.92 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.284e-05/0.4489, allocations: 27.91 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.449, allocations: 7.938 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.491e-05/0.4491, allocations: 23.97 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.4491, allocations: 15.92 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.4491, allocations: 31.8 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.4493, allocations: 67.81 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4493, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4493, allocations: 4 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.4494, allocations: 0 / 1.07 GB, free: 8.633 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.0007613/0.4501, allocations: 375.5 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.4502, allocations: 8.031 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.881e-05/0.4503, allocations: 24.77 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.4504, allocations: 180.2 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.4505, allocations: 4.375 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.4505, allocations: 4.375 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.4507, allocations: 66.22 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.4508, allocations: 3.938 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.4508, allocations: 4 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4508, allocations: 0 / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.451, allocations: 51.89 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007705/0.4518, allocations: 312.8 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.452, allocations: 62.53 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.4521, allocations: 33.05 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.4521, allocations: 7.938 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002734/0.4524, allocations: 75.28 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.4524, allocations: 4 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004376/0.4529, allocations: 121.6 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.4529, allocations: 59.39 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.4531, allocations: 121.7 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.4531, allocations: 33.7 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.4532, allocations: 96.05 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.4532, allocations: 19.75 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.4532, allocations: 25.7 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4534, allocations: 322.8 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.4535, allocations: 35.97 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.4537, allocations: 73.92 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.4539, allocations: 105.9 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4539, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003146/0.4542, allocations: 133.4 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4542, allocations: 11.94 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4543, allocations: 3.984 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4543, allocations: 4 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.4544, allocations: 19.98 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.4544, allocations: 8.156 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.074e-05/0.4545, allocations: 11.98 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.4546, allocations: 4 kB / 1.072 GB, free: 5.988 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.0001108/0.4547, allocations: 119.5 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.4547, allocations: 7.906 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.4547, allocations: 12.38 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4547, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4547, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4548, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.4552, allocations: 386.6 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4553, allocations: 0 / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.426e-05/0.4553, allocations: 7.984 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4553, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.4553, allocations: 8 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4554, allocations: 7.938 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4554, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.4557, allocations: 199.4 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.4557, allocations: 88.95 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.4557, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.4558, allocations: 11.92 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.4559, allocations: 11.98 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.4559, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.456, allocations: 95.27 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.134e-06/0.456, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003362/0.4563, allocations: 19.94 kB / 1.073 GB, free: 4.934 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.0001768/0.4565, allocations: 103.2 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002833/0.4568, allocations: 80.17 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4568, allocations: 4.125 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.4569, allocations: 35.92 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.4572, allocations: 12.55 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.4576, allocations: 171.9 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.458, allocations: 0.6887 MB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.186e-05/0.458, allocations: 11.78 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.4581, allocations: 7.438 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.4581, allocations: 7.938 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of Templates: time 0.003759/0.4619, allocations: 0.8672 MB / 1.075 GB, free: 2.926 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)