Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001431/0.001431, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 222.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.598/1.598, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008307/0.0008309, allocations: 14.81 kB / 0.6737 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3513, allocations: 116.3 MB / 0.7873 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001297/0.3527, allocations: 476.5 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.3545, allocations: 1.056 MB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.3545, allocations: 0 / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.3546, allocations: 7.922 kB / 0.7888 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.3547, allocations: 15.92 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.355, allocations: 35.95 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.3552, allocations: 43.83 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3553, allocations: 20.17 kB / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.3554, allocations: 23.91 kB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.976e-05/0.3555, allocations: 27.86 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.3555, allocations: 0 / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-05/0.3556, allocations: 19.98 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.3557, allocations: 7.984 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.3557, allocations: 33.64 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.3559, allocations: 60.16 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3559, allocations: 0 / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.045e-06/0.3559, allocations: 0 / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3559, allocations: 0 / 0.789 GB, free: 10.02 MB / 0.6075 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.0007553/0.3567, allocations: 375.1 kB / 0.7894 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.442e-05/0.3568, allocations: 12.03 kB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.46e-05/0.3569, allocations: 34.55 kB / 0.7894 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.745e-05/0.3569, allocations: 7.906 kB / 0.7894 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.3572, allocations: 174.9 kB / 0.7896 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3572, allocations: 4 kB / 0.7896 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.3572, allocations: 8 kB / 0.7896 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.3575, allocations: 77.53 kB / 0.7897 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3575, allocations: 0 / 0.7897 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.3575, allocations: 8 kB / 0.7897 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3575, allocations: 0 / 0.7897 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.3577, allocations: 55.95 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.3585, allocations: 336.6 kB / 0.7901 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.3587, allocations: 58.56 kB / 0.7901 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.3587, allocations: 3.938 kB / 0.7901 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002715/0.359, allocations: 87.53 kB / 0.7902 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.359, allocations: 0 / 0.7902 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000508/0.3595, allocations: 145.5 kB / 0.7904 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.3596, allocations: 59.39 kB / 0.7904 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3597, allocations: 121.8 kB / 0.7905 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.3597, allocations: 29.7 kB / 0.7906 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.3598, allocations: 92.05 kB / 0.7906 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.3599, allocations: 19.73 kB / 0.7907 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.3599, allocations: 4 kB / 0.7907 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3601, allocations: 318.8 kB / 0.791 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.3602, allocations: 35.97 kB / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.3603, allocations: 77.92 kB / 0.7911 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.3605, allocations: 43.97 kB / 0.7911 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3605, allocations: 0 / 0.7911 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003249/0.3608, allocations: 137.5 kB / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.3608, allocations: 8 kB / 0.7913 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3609, allocations: 0 / 0.7913 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3609, allocations: 4 kB / 0.7913 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.361, allocations: 28.14 kB / 0.7913 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.3611, allocations: 0 / 0.7913 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.711e-05/0.3612, allocations: 19.84 kB / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.3612, allocations: 4 kB / 0.7913 GB, free: 7.426 MB / 0.6075 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 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.3613, allocations: 125.8 kB / 0.7914 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.3614, allocations: 3.906 kB / 0.7914 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.3614, allocations: 16.34 kB / 0.7915 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3614, allocations: 4 kB / 0.7915 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3614, allocations: 3.938 kB / 0.7915 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3614, allocations: 0 / 0.7915 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.362, allocations: 394.4 kB / 0.7918 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.362, allocations: 0 / 0.7918 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/0.3621, allocations: 11.94 kB / 0.7918 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3621, allocations: 3.938 kB / 0.7919 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3621, allocations: 7.984 kB / 0.7919 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3621, allocations: 0 / 0.7919 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.3621, allocations: 3.953 kB / 0.7919 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.3624, allocations: 207.8 kB / 0.7921 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.3625, allocations: 85 kB / 0.7921 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.3625, allocations: 0 / 0.7921 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.3626, allocations: 12 kB / 0.7922 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.3627, allocations: 15.94 kB / 0.7922 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-06/0.3627, allocations: 0 / 0.7922 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.35e-05/0.3628, allocations: 91.27 kB / 0.7923 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3628, allocations: 0 / 0.7923 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002809/0.3631, allocations: 20 kB / 0.7923 GB, free: 6.34 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007621/0.3638, allocations: 0.7514 MB / 0.793 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003082/0.3642, allocations: 91.94 kB / 0.7931 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3642, allocations: 0 / 0.7931 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.3643, allocations: 43.91 kB / 0.7931 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.3645, allocations: 4.984 kB / 0.7931 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.3656, allocations: 1.307 MB / 0.7944 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.366, allocations: 0.7043 MB / 0.7951 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.615e-05/0.366, allocations: 4 kB / 0.7951 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.3661, allocations: 23.42 kB / 0.7951 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.3661, allocations: 0 / 0.7951 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.3808, allocations: 1.778 MB / 0.7969 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.3811, allocations: 222.1 kB / 0.7971 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.018, allocations: 0 / 0.7971 GB, free: 1.473 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) Environment - environmentSimulation: