Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008311/0.0008309, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008686/0.0008687, allocations: 168.7 kB / 15.95 MB, free: 204 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.57/1.57, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.673/1.673, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005088/0.0005089, allocations: 14 kB / 0.6739 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2667, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001087/0.2678, allocations: 481.4 kB / 0.7879 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.2694, allocations: 1.048 MB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.974e-05/0.2695, allocations: 4 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.2696, allocations: 7.922 kB / 0.7889 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.811e-05/0.2697, allocations: 3.938 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.2701, allocations: 47.89 kB / 0.789 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.2702, allocations: 63.78 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2704, allocations: 16.17 kB / 0.7891 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.2705, allocations: 23.92 kB / 0.7891 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.991e-05/0.2706, allocations: 23.91 kB / 0.7891 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.2706, allocations: 4 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.2707, allocations: 23.92 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.2708, allocations: 7.969 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.2709, allocations: 41.64 kB / 0.7892 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.271, allocations: 48.17 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.2711, allocations: 0 / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2711, allocations: 0 / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.443e-06/0.2711, allocations: 0 / 0.7892 GB, free: 10 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.0007247/0.2718, allocations: 379.1 kB / 0.7896 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.2719, allocations: 8.031 kB / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.021e-05/0.2719, allocations: 30.56 kB / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.272, allocations: 11.91 kB / 0.7896 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.2722, allocations: 182.9 kB / 0.7898 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.2722, allocations: 8 kB / 0.7898 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.2722, allocations: 4 kB / 0.7898 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.2724, allocations: 77.58 kB / 0.7899 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2725, allocations: 0 / 0.7899 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.2725, allocations: 11.88 kB / 0.7899 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2725, allocations: 0 / 0.7899 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.2727, allocations: 59.95 kB / 0.79 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.2734, allocations: 328.6 kB / 0.7903 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.2736, allocations: 58.55 kB / 0.7903 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.611e-05/0.2737, allocations: 36.97 kB / 0.7904 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.2737, allocations: 3.984 kB / 0.7904 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.274, allocations: 75.39 kB / 0.7904 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.274, allocations: 0 / 0.7904 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004119/0.2744, allocations: 153.5 kB / 0.7906 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.2744, allocations: 59.36 kB / 0.7906 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.586e-05/0.2745, allocations: 117.8 kB / 0.7908 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.2746, allocations: 37.7 kB / 0.7908 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.2746, allocations: 88.05 kB / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.2747, allocations: 23.73 kB / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.2747, allocations: 0 / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2748, allocations: 318.8 kB / 0.7912 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.2749, allocations: 31.97 kB / 0.7912 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.275, allocations: 77.98 kB / 0.7913 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.2752, allocations: 47.91 kB / 0.7914 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2752, allocations: 0 / 0.7914 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000298/0.2755, allocations: 141.6 kB / 0.7915 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2755, allocations: 4 kB / 0.7915 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2755, allocations: 0 / 0.7915 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2755, allocations: 4 kB / 0.7915 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.2757, allocations: 23.92 kB / 0.7915 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2757, allocations: 0 / 0.7915 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.735e-05/0.2758, allocations: 31.88 kB / 0.7916 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2758, allocations: 8 kB / 0.7916 GB, free: 7.355 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 9.667e-05/0.2759, allocations: 114.5 kB / 0.7917 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.2759, allocations: 11.89 kB / 0.7917 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.2759, allocations: 8.375 kB / 0.7917 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2759, allocations: 3.938 kB / 0.7917 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.276, allocations: 0 / 0.7917 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.276, allocations: 0 / 0.7917 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.2764, allocations: 390.7 kB / 0.7921 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2765, allocations: 8 kB / 0.7921 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.2765, allocations: 15.92 kB / 0.7921 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2765, allocations: 4 kB / 0.7921 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.2765, allocations: 0 / 0.7921 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2766, allocations: 3.953 kB / 0.7921 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2766, allocations: 3.938 kB / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.2769, allocations: 211.4 kB / 0.7923 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.2769, allocations: 85 kB / 0.7924 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.2769, allocations: 8 kB / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.277, allocations: 4 kB / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.2771, allocations: 11.94 kB / 0.7924 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.2771, allocations: 0 / 0.7924 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.195e-05/0.2772, allocations: 95.27 kB / 0.7925 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2772, allocations: 4 kB / 0.7925 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002582/0.2774, allocations: 16 kB / 0.7925 GB, free: 6.277 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.0006756/0.2781, allocations: 0.7475 MB / 0.7932 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.2784, allocations: 87.88 kB / 0.7933 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2784, allocations: 448 / 0.7933 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.2785, allocations: 43.91 kB / 0.7934 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.2788, allocations: 15.95 kB / 0.7934 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.2799, allocations: 0.5956 MB / 0.794 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.2802, allocations: 0.7001 MB / 0.7946 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.981e-05/0.2802, allocations: 7.984 kB / 0.7947 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.2802, allocations: 19.44 kB / 0.7947 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2803, allocations: 0 / 0.7947 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.2926, allocations: 1.814 MB / 0.7964 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.2928, allocations: 225.2 kB / 0.7967 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.052, allocations: 3.938 kB / 0.7967 GB, free: 2.102 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: