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.701/1.701, allocations: 288.2 MB / 303.2 MB, free: 8.098 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.001166/0.001166, allocations: 186.4 kB / 371.8 MB, free: 10.29 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.898/1.898, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0009857/0.0009856, allocations: 86.92 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006472/0.0006477, allocations: 12.66 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2096, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.0009203/0.2106, allocations: 473.8 kB / 0.98 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2117, allocations: 1.052 MB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.2117, allocations: 3.938 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.2118, allocations: 3.938 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.899e-05/0.2118, allocations: 11.97 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.2121, allocations: 47.83 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.653e-05/0.2122, allocations: 35.95 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.2123, allocations: 16.17 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.2123, allocations: 19.92 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.2124, allocations: 39.83 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.2124, allocations: 0 / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.083e-05/0.2125, allocations: 11.98 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.2125, allocations: 15.94 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.2125, allocations: 33.7 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.495e-05/0.2126, allocations: 52.16 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.2126, allocations: 0 / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2126, allocations: 4 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2127, allocations: 0 / 0.9813 GB, free: 25.76 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.000455/0.2131, allocations: 367.1 kB / 0.9816 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2132, allocations: 16.02 kB / 0.9816 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.832e-05/0.2132, allocations: 42.55 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.2133, allocations: 7.906 kB / 0.9817 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.871e-05/0.2134, allocations: 174.9 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-06/0.2134, allocations: 0 / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.2134, allocations: 8 kB / 0.9818 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.2136, allocations: 69.66 kB / 0.9819 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.2136, allocations: 0 / 0.9819 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2136, allocations: 7.984 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2136, allocations: 4 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.2138, allocations: 59.83 kB / 0.982 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.2144, allocations: 336.6 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.2146, allocations: 54.56 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.2146, allocations: 12.02 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.2148, allocations: 79.5 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.2148, allocations: 0 / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004037/0.2152, allocations: 145.5 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.2153, allocations: 51.41 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.407e-05/0.2153, allocations: 129.8 kB / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.2154, allocations: 25.7 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.2154, allocations: 100 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.2154, allocations: 23.69 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.2154, allocations: 0 / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.891e-05/0.2155, allocations: 314.8 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2156, allocations: 35.97 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.2157, allocations: 81.97 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.2159, allocations: 47.97 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2159, allocations: 0 / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002687/0.2161, allocations: 137.6 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2162, allocations: 8 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2162, allocations: 0 / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2162, allocations: 4 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.2163, allocations: 15.98 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.2163, allocations: 7.984 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.132e-05/0.2164, allocations: 19.86 kB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.2164, allocations: 8.062 kB / 0.9835 GB, free: 23.17 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 7.406e-05/0.2165, allocations: 125.8 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.2165, allocations: 3.906 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.2166, allocations: 20.31 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2166, allocations: 0 / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2166, allocations: 0 / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2166, allocations: 0 / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.217, allocations: 386.4 kB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.217, allocations: 0 / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.2171, allocations: 11.98 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2171, allocations: 0 / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.2171, allocations: 8 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2171, allocations: 400 / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2171, allocations: 3.953 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.2174, allocations: 215.4 kB / 0.9843 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.2174, allocations: 92.95 kB / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.2174, allocations: 0 / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.2175, allocations: 15.92 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.2176, allocations: 7.953 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.2176, allocations: 0 / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.294e-05/0.2176, allocations: 95.27 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2176, allocations: 0 / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002445/0.2179, allocations: 16 kB / 0.9845 GB, free: 22.09 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.0004602/0.2183, allocations: 0.7524 MB / 0.9852 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.2186, allocations: 95.81 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2186, allocations: 0 / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.2187, allocations: 40.41 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.219, allocations: 10.84 kB / 0.9854 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006928/0.2197, allocations: 1.306 MB / 0.9867 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.2198, allocations: 0.6965 MB / 0.9873 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.2199, allocations: 7.781 kB / 0.9873 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.2199, allocations: 23.42 kB / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.2199, allocations: 4 kB / 0.9874 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.2328, allocations: 1.79 MB / 0.9891 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.233, allocations: 232.2 kB / 0.9893 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/1.701, allocations: 64 / 0.9893 GB, free: 17.22 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)