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.0009559/0.0009561, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001028/0.001028, allocations: 193.1 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 222 MB, free: 4.734 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.676/1.676, allocations: 292.3 MB / 0.5484 GB, free: 13.65 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.0014/0.0014, allocations: 66.98 kB / 0.671 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2181, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002121/0.2202, allocations: 0.8205 MB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2215, allocations: 1.072 MB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.2216, allocations: 4 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.2217, allocations: 3.938 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.123e-05/0.2217, allocations: 7.922 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.222, allocations: 43.91 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.687e-05/0.2221, allocations: 67.77 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2222, allocations: 20.17 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/0.2223, allocations: 27.92 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.2223, allocations: 35.83 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.2223, allocations: 4 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.441e-05/0.2224, allocations: 19.98 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.2224, allocations: 7.938 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.2225, allocations: 27.8 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.2226, allocations: 87.95 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2226, allocations: 0 / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2226, allocations: 0 / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.2226, allocations: 0 / 0.785 GB, free: 11.62 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.0005122/0.2232, allocations: 371.3 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2232, allocations: 12.03 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.2233, allocations: 34.75 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.2233, allocations: 8.844 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2234, allocations: 184.1 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.2234, allocations: 4.375 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.2234, allocations: 8.375 kB / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.2236, allocations: 69.91 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.2237, allocations: 11.98 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.2237, allocations: 0 / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2237, allocations: 0 / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.2239, allocations: 43.95 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.2245, allocations: 324.6 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.2247, allocations: 54.55 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.2248, allocations: 32.95 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.2248, allocations: 0 / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.225, allocations: 79.38 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.225, allocations: 0 / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003918/0.2254, allocations: 137.5 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.2255, allocations: 55.39 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/0.2256, allocations: 117.8 kB / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.2256, allocations: 25.7 kB / 0.7865 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.2256, allocations: 100.1 kB / 0.7866 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.2257, allocations: 15.75 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.2257, allocations: 33.64 kB / 0.7867 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.2258, allocations: 322.8 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.2259, allocations: 27.97 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.2261, allocations: 77.92 kB / 0.7871 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.2263, allocations: 105.9 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2263, allocations: 0 / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002813/0.2266, allocations: 129.4 kB / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2266, allocations: 10.03 kB / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2266, allocations: 4.219 kB / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2266, allocations: 8 kB / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.2268, allocations: 23.91 kB / 0.7873 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2268, allocations: 0 / 0.7873 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.999e-05/0.2269, allocations: 11.91 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.2269, allocations: 11.98 kB / 0.7874 GB, free: 8.945 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 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.288e-05/0.227, allocations: 121.7 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.227, allocations: 4 kB / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.227, allocations: 16.31 kB / 0.7875 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.227, allocations: 4 kB / 0.7875 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.227, allocations: 0 / 0.7875 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.227, allocations: 0 / 0.7875 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.2275, allocations: 378.2 kB / 0.7879 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2275, allocations: 0 / 0.7879 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.2276, allocations: 11.98 kB / 0.7879 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2276, allocations: 4 kB / 0.7879 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.2276, allocations: 0 / 0.7879 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2276, allocations: 3.938 kB / 0.7879 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2276, allocations: 4 kB / 0.7879 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.2279, allocations: 195.4 kB / 0.7881 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.2279, allocations: 81.02 kB / 0.7881 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.228, allocations: 15.94 kB / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.212e-05/0.228, allocations: 11.92 kB / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.2281, allocations: 0 / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.2281, allocations: 7.984 kB / 0.7882 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.2281, allocations: 87.28 kB / 0.7883 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2281, allocations: 3.938 kB / 0.7883 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002502/0.2284, allocations: 19.98 kB / 0.7883 GB, free: 7.895 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00058/0.229, allocations: 0.7408 MB / 0.789 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.2293, allocations: 71.89 kB / 0.7891 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2293, allocations: 448 / 0.7891 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.2294, allocations: 39.91 kB / 0.7891 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.2296, allocations: 15.92 kB / 0.7891 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.2313, allocations: 1.537 MB / 0.7906 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.2316, allocations: 0.6923 MB / 0.7913 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.951e-05/0.2317, allocations: 15.97 kB / 0.7913 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.2317, allocations: 19.44 kB / 0.7913 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2317, allocations: 4 kB / 0.7913 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01129/0.243, allocations: 1.889 MB / 0.7932 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.2432, allocations: 252 kB / 0.7934 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.893, allocations: 0 / 0.7934 GB, free: 2.629 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/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)