Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.474/1.474, allocations: 287.4 MB / 302.6 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009742/0.0009743, allocations: 182.9 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006943/0.0006945, allocations: 105.1 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003447, allocations: 12.3 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1638, allocations: 115.3 MB / 0.9788 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.0006869/0.1646, allocations: 481.6 kB / 0.9792 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.1655, allocations: 1.043 MB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.1656, allocations: 4 kB / 0.9802 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.1656, allocations: 4 kB / 0.9802 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.941e-05/0.1657, allocations: 11.88 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.166, allocations: 40.7 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.432e-05/0.166, allocations: 59.78 kB / 0.9804 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.1661, allocations: 20.16 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.1662, allocations: 23.92 kB / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.1663, allocations: 31.86 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1663, allocations: 4 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.026e-05/0.1663, allocations: 11.98 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.1664, allocations: 23.84 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.1664, allocations: 33.7 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.815e-05/0.1665, allocations: 52.11 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1665, allocations: 0 / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1665, allocations: 0 / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1665, allocations: 0 / 0.9805 GB, free: 26.21 MB / 0.6198 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.0004366/0.1669, allocations: 367.3 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.167, allocations: 12.03 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/0.167, allocations: 38.69 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.1671, allocations: 12.83 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.482e-05/0.1671, allocations: 180.2 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1671, allocations: 8.375 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.1672, allocations: 4.375 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1673, allocations: 77.97 kB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1674, allocations: 0 / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1674, allocations: 0 / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1674, allocations: 0 / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.1675, allocations: 59.89 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.168, allocations: 324.8 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1682, allocations: 70.58 kB / 0.9816 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.1683, allocations: 36.95 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1683, allocations: 0 / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.1685, allocations: 87.38 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.1685, allocations: 0 / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003429/0.1688, allocations: 145.8 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.1689, allocations: 63.33 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.1689, allocations: 117.8 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.169, allocations: 33.7 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.169, allocations: 88.12 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.169, allocations: 15.75 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.169, allocations: 4 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.285e-05/0.1691, allocations: 330.8 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-05/0.1692, allocations: 27.98 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.1693, allocations: 82 kB / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.1695, allocations: 121.8 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1695, allocations: 0 / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002545/0.1697, allocations: 149.3 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1698, allocations: 4 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1698, allocations: 7.984 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1698, allocations: 0 / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1699, allocations: 19.98 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1699, allocations: 8.156 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.479e-05/0.17, allocations: 15.98 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.17, allocations: 4 kB / 0.9829 GB, free: 23.48 MB / 0.6198 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 5.625e-05/0.1701, allocations: 128.3 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.1701, allocations: 7.906 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.023e-05/0.1701, allocations: 4.375 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1701, allocations: 4 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1701, allocations: 0 / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1701, allocations: 11.98 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.1705, allocations: 390.3 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1705, allocations: 0 / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.1705, allocations: 15.98 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1706, allocations: 0 / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1706, allocations: 0 / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1706, allocations: 3.938 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1706, allocations: 4 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.1708, allocations: 208.3 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.1708, allocations: 85.02 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.1709, allocations: 0 / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.1709, allocations: 19.92 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.171, allocations: 3.984 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.171, allocations: 4 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.927e-05/0.171, allocations: 91.92 kB / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.71e-07/0.171, allocations: 4 kB / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002121/0.1712, allocations: 23.94 kB / 0.9839 GB, free: 22.39 MB / 0.6198 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.0003942/0.1716, allocations: 0.7517 MB / 0.9846 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.1719, allocations: 84.25 kB / 0.9847 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1719, allocations: 4.062 kB / 0.9847 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.653e-05/0.172, allocations: 35.98 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.1722, allocations: 23.86 kB / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007962/0.173, allocations: 0.5919 MB / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.985e-05/0.1731, allocations: 0.7001 MB / 0.986 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.636e-05/0.1732, allocations: 4 kB / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.1732, allocations: 23.42 kB / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1732, allocations: 3.938 kB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.1969, allocations: 1.805 MB / 0.9878 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/0.197, allocations: 226.8 kB / 0.9881 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/1.638, allocations: 0 / 0.9881 GB, free: 18.23 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)