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.SampleTriggerNegativeStartTime.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.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.467/1.467, allocations: 288.4 MB / 303.6 MB, free: 8.148 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.0009296/0.0009298, allocations: 192.4 kB / 372.3 MB, free: 10.12 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.238/1.238, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0006548/0.0006546, allocations: 94.23 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003195, allocations: 17.08 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.0006657/0.1495, allocations: 473.9 kB / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00087/0.1504, allocations: 1.056 MB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.1504, allocations: 0 / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.1505, allocations: 7.938 kB / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.1505, allocations: 15.86 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.1507, allocations: 35.97 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.761e-05/0.1508, allocations: 63.77 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.342e-05/0.1509, allocations: 20.17 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.1e-05/0.1509, allocations: 19.92 kB / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.151, allocations: 31.84 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.151, allocations: 4 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.785e-05/0.1511, allocations: 19.98 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.1511, allocations: 7.922 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.1511, allocations: 53.56 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.347e-05/0.1512, allocations: 56.09 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1512, allocations: 4 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1512, allocations: 0 / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.1512, allocations: 0 / 0.982 GB, free: 25.35 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.000382/0.1516, allocations: 375.3 kB / 0.9824 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1517, allocations: 8.031 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.342e-05/0.1517, allocations: 38.75 kB / 0.9824 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.1517, allocations: 8.844 kB / 0.9824 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.937e-05/0.1518, allocations: 176.2 kB / 0.9826 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1518, allocations: 8.375 kB / 0.9826 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.1518, allocations: 8.359 kB / 0.9826 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.152, allocations: 81.91 kB / 0.9827 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.152, allocations: 0 / 0.9827 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.152, allocations: 0 / 0.9827 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.152, allocations: 4 kB / 0.9827 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.1522, allocations: 47.97 kB / 0.9827 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.1527, allocations: 332.7 kB / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.1528, allocations: 66.55 kB / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.1529, allocations: 28.97 kB / 0.9831 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.153, allocations: 7.984 kB / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.1531, allocations: 87.41 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1531, allocations: 0 / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003427/0.1535, allocations: 149.5 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.1535, allocations: 51.41 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.536e-05/0.1536, allocations: 125.7 kB / 0.9835 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.1536, allocations: 29.7 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.1536, allocations: 92.08 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.1537, allocations: 23.72 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.1537, allocations: 4 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.1537, allocations: 318.8 kB / 0.984 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-05/0.1538, allocations: 35.97 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1539, allocations: 85.86 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.1541, allocations: 117.9 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1541, allocations: 0 / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002589/0.1544, allocations: 145.5 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.1544, allocations: 7.938 kB / 0.9844 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1544, allocations: 0 / 0.9844 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1544, allocations: 4 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1545, allocations: 23.97 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1546, allocations: 0 / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.1546, allocations: 12.09 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1547, allocations: 7.984 kB / 0.9844 GB, free: 22.62 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.848e-05/0.1547, allocations: 135.1 kB / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.1547, allocations: 7.906 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.1548, allocations: 8.375 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1548, allocations: 0 / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1548, allocations: 0 / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1548, allocations: 0 / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.1551, allocations: 394.2 kB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1551, allocations: 4 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.002e-05/0.1552, allocations: 7.984 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1552, allocations: 8 kB / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1552, allocations: 0 / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1552, allocations: 3.938 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1552, allocations: 0 / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.1554, allocations: 207.5 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.1555, allocations: 81.02 kB / 0.9852 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.1555, allocations: 4 kB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.1556, allocations: 15.92 kB / 0.9853 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.1556, allocations: 8 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1556, allocations: 7.922 kB / 0.9853 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.775e-05/0.1556, allocations: 95.88 kB / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1557, allocations: 4 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002233/0.1559, allocations: 19.98 kB / 0.9854 GB, free: 21.54 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.0003716/0.1563, allocations: 0.7475 MB / 0.9861 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.1565, allocations: 83.89 kB / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1565, allocations: 8.312 kB / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.1566, allocations: 43.97 kB / 0.9862 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.1569, allocations: 25.42 kB / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007666/0.1576, allocations: 0.5936 MB / 0.9868 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.409e-05/0.1577, allocations: 0.6962 MB / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.1578, allocations: 7.781 kB / 0.9875 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.1578, allocations: 23.42 kB / 0.9876 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1578, allocations: 0 / 0.9876 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/0.2723, allocations: 1.804 MB / 0.9893 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001262/0.2724, allocations: 234.2 kB / 0.9895 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.759, allocations: 2.062 kB / 0.9895 GB, free: 17.37 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)