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.0008948/0.0008952, 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.001085/0.001085, 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.584/1.584, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.776/1.776, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005378/0.000538, allocations: 19.25 kB / 0.6739 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2592, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001037/0.2603, allocations: 485.3 kB / 0.7879 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2619, allocations: 1.056 MB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.2619, allocations: 0 / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.262, allocations: 7.938 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/0.2621, allocations: 7.938 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.2624, allocations: 46.02 kB / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.2625, allocations: 59.84 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.2626, allocations: 16.16 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.125e-05/0.2627, allocations: 23.86 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.2628, allocations: 31.91 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.2628, allocations: 0 / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.376e-05/0.2628, allocations: 20 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.2629, allocations: 15.91 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.2629, allocations: 37.69 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.263, allocations: 48.17 kB / 0.7892 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.263, allocations: 0 / 0.7892 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.263, allocations: 0 / 0.7892 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.2631, allocations: 0 / 0.7892 GB, free: 9.961 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.0005087/0.2636, allocations: 375.1 kB / 0.7896 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2636, allocations: 12.03 kB / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.747e-05/0.2637, allocations: 42.48 kB / 0.7896 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.2637, allocations: 7.906 kB / 0.7896 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.2639, allocations: 175 kB / 0.7898 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2639, allocations: 0 / 0.7898 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.2639, allocations: 8 kB / 0.7898 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.2641, allocations: 69.66 kB / 0.7899 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2642, allocations: 11.94 kB / 0.7899 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.2642, allocations: 3.938 kB / 0.7899 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2642, allocations: 0 / 0.7899 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.2644, allocations: 51.95 kB / 0.7899 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006389/0.265, allocations: 332.7 kB / 0.7903 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.2652, allocations: 66.53 kB / 0.7903 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.2653, allocations: 40.95 kB / 0.7904 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.2653, allocations: 0 / 0.7904 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.2655, allocations: 87.36 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2656, allocations: 0 / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003877/0.2659, allocations: 149.5 kB / 0.7906 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.266, allocations: 59.36 kB / 0.7906 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.6e-05/0.2661, allocations: 117.8 kB / 0.7908 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.2661, allocations: 25.7 kB / 0.7908 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.2662, allocations: 100 kB / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.2662, allocations: 15.75 kB / 0.7909 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.2662, allocations: 4 kB / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.732e-05/0.2663, allocations: 314.8 kB / 0.7912 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.2665, allocations: 43.97 kB / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.2666, allocations: 73.98 kB / 0.7913 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.2667, allocations: 43.92 kB / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2667, allocations: 0 / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002921/0.267, allocations: 137.5 kB / 0.7915 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.267, allocations: 8 kB / 0.7915 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.267, allocations: 3.984 kB / 0.7915 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2671, allocations: 4 kB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.2672, allocations: 20.2 kB / 0.7915 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2672, allocations: 7.938 kB / 0.7915 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.321e-05/0.2673, allocations: 23.78 kB / 0.7915 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.2673, allocations: 4 kB / 0.7915 GB, free: 7.32 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.759e-05/0.2674, allocations: 122.5 kB / 0.7917 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.2674, allocations: 3.906 kB / 0.7917 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.2675, allocations: 8.375 kB / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2675, allocations: 4 kB / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2675, allocations: 0 / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2675, allocations: 0 / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.268, allocations: 394.4 kB / 0.7921 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.268, allocations: 4 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.268, allocations: 11.98 kB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.268, allocations: 0 / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2681, allocations: 4 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.2681, allocations: 3.953 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2681, allocations: 0 / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.2684, allocations: 215.3 kB / 0.7923 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.2684, allocations: 85 kB / 0.7924 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.2684, allocations: 0 / 0.7924 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.2685, allocations: 15.98 kB / 0.7924 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.2686, allocations: 15.88 kB / 0.7924 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.2686, allocations: 4 kB / 0.7924 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.87e-05/0.2686, allocations: 91.27 kB / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2686, allocations: 0 / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002631/0.2689, allocations: 20 kB / 0.7925 GB, free: 6.238 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.0006129/0.2695, allocations: 0.7484 MB / 0.7932 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.2698, allocations: 91.94 kB / 0.7933 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2698, allocations: 0 / 0.7933 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.2699, allocations: 35.98 kB / 0.7934 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.2702, allocations: 20.77 kB / 0.7934 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.2712, allocations: 0.6009 MB / 0.794 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.2715, allocations: 0.6923 MB / 0.7946 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.2715, allocations: 7.938 kB / 0.7946 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.2716, allocations: 23.42 kB / 0.7947 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2716, allocations: 0 / 0.7947 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.2926, allocations: 1.811 MB / 0.7964 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.2928, allocations: 225.1 kB / 0.7967 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.018, allocations: 0.75 kB / 0.7967 GB, free: 2.07 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: