Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.484/1.484, allocations: 288.4 MB / 303.6 MB, free: 8.203 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.0011/0.0011, allocations: 199.3 kB / 372.3 MB, free: 10.1 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.154/1.154, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0006757/0.0006757, allocations: 101.2 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 16.88 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.0007385/0.1538, allocations: 465.9 kB / 0.9807 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009436/0.1548, allocations: 1.064 MB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.1549, allocations: 0 / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.1549, allocations: 3.938 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.679e-05/0.155, allocations: 7.922 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.1552, allocations: 37.72 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.403e-05/0.1553, allocations: 71.77 kB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/0.1554, allocations: 20.17 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.085e-05/0.1554, allocations: 23.91 kB / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.1555, allocations: 27.84 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1555, allocations: 4 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.504e-05/0.1556, allocations: 15.98 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.1556, allocations: 11.94 kB / 0.9819 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.1557, allocations: 53.55 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.311e-05/0.1558, allocations: 52.11 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1558, allocations: 0 / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.575e-06/0.1558, allocations: 0 / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.1558, allocations: 3.938 kB / 0.982 GB, free: 25.38 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.0003936/0.1562, allocations: 379.3 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.1562, allocations: 8.031 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.1563, allocations: 34.73 kB / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.1563, allocations: 8.844 kB / 0.9824 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.548e-05/0.1564, allocations: 180.2 kB / 0.9826 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1564, allocations: 8.375 kB / 0.9826 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.1564, allocations: 8.375 kB / 0.9826 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1566, allocations: 81.84 kB / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1566, allocations: 0 / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1566, allocations: 4 kB / 0.9827 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1566, allocations: 0 / 0.9827 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1568, allocations: 55.95 kB / 0.9827 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.1573, allocations: 328.7 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.1575, allocations: 58.55 kB / 0.9831 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.84e-05/0.1576, allocations: 36.95 kB / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1576, allocations: 0 / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.1578, allocations: 91.39 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.1578, allocations: 0 / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003562/0.1581, allocations: 149.5 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.1582, allocations: 55.41 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.787e-05/0.1582, allocations: 121.8 kB / 0.9836 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.1582, allocations: 29.7 kB / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.1583, allocations: 92.12 kB / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.1583, allocations: 15.75 kB / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.1583, allocations: 4 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.882e-05/0.1583, allocations: 326.8 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-05/0.1585, allocations: 31.92 kB / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1586, allocations: 81.92 kB / 0.9841 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.1588, allocations: 117.9 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1588, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002617/0.159, allocations: 149.3 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1591, allocations: 8 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1591, allocations: 0 / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1591, allocations: 4 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1592, allocations: 20.2 kB / 0.9844 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1592, allocations: 4 kB / 0.9844 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.808e-05/0.1593, allocations: 11.98 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1593, allocations: 8 kB / 0.9844 GB, free: 22.65 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 6.092e-05/0.1594, allocations: 127.2 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.1594, allocations: 7.906 kB / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.1594, allocations: 12.38 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1594, allocations: 7.984 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1594, allocations: 0 / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1595, allocations: 3.938 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.1598, allocations: 390.3 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1598, allocations: 3.984 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.1599, allocations: 11.98 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1599, allocations: 0 / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1599, allocations: 4 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1599, allocations: 3.938 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1599, allocations: 0 / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1601, allocations: 203.5 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.1602, allocations: 85.02 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.1602, allocations: 7.984 kB / 0.9852 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.897e-05/0.1603, allocations: 15.94 kB / 0.9853 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.1603, allocations: 11.92 kB / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.1603, allocations: 4 kB / 0.9853 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.244e-05/0.1604, allocations: 99.8 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1604, allocations: 0 / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002278/0.1606, allocations: 20 kB / 0.9854 GB, free: 21.55 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.0004193/0.161, allocations: 0.7475 MB / 0.9861 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.1613, allocations: 95.88 kB / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1613, allocations: 0 / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.1614, allocations: 31.98 kB / 0.9862 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.1617, allocations: 15.92 kB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008489/0.1625, allocations: 0.6025 MB / 0.9868 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.51e-05/0.1626, allocations: 0.6923 MB / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.145e-05/0.1627, allocations: 7.781 kB / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.1627, allocations: 24.83 kB / 0.9876 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.1627, allocations: 0 / 0.9876 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3009/0.4636, allocations: 1.807 MB / 0.9893 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.4638, allocations: 227.7 kB / 0.9895 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.533, allocations: 7.938 kB / 0.9895 GB, free: 17.39 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)