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.001451/0.001451, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.736/1.736, allocations: 205.1 MB / 222.4 MB, free: 4.594 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 2.02/2.02, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.002777/0.002777, allocations: 72.03 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2948, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002476/0.2973, allocations: 0.7596 MB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2989, allocations: 1.074 MB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.299, allocations: 4 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.2991, allocations: 3.938 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.2992, allocations: 11.86 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.2995, allocations: 51.83 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.2997, allocations: 75.77 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2998, allocations: 12.19 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.57e-05/0.2999, allocations: 27.92 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.3, allocations: 35.83 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3, allocations: 12 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.74e-05/0.3001, allocations: 19.98 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.3001, allocations: 15.92 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.3001, allocations: 35.73 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.3003, allocations: 83.97 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3003, allocations: 0 / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3003, allocations: 0 / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3003, allocations: 0 / 0.7857 GB, free: 11.14 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.0005818/0.3009, allocations: 375.3 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.301, allocations: 12.03 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.301, allocations: 34.75 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.3011, allocations: 8.844 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.3012, allocations: 180.2 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3012, allocations: 4.375 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.3013, allocations: 8.375 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3015, allocations: 69.92 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3015, allocations: 0 / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3015, allocations: 3.984 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3015, allocations: 4 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.3017, allocations: 39.97 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/0.3023, allocations: 325.7 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.3025, allocations: 58.55 kB / 0.7867 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3026, allocations: 28.97 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.3027, allocations: 4 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.3029, allocations: 71.38 kB / 0.7868 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.3029, allocations: 0 / 0.7868 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004339/0.3033, allocations: 137.8 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.3034, allocations: 55.41 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3035, allocations: 121.8 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3035, allocations: 29.7 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.3036, allocations: 88.08 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.3036, allocations: 23.73 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.3037, allocations: 29.72 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3038, allocations: 326.8 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.3039, allocations: 27.97 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.3041, allocations: 73.92 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.3043, allocations: 109.9 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3043, allocations: 4 kB / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003169/0.3046, allocations: 133.4 kB / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3047, allocations: 11.94 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.3047, allocations: 80 / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.3047, allocations: 4.219 kB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.3049, allocations: 23.92 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3049, allocations: 7.969 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.674e-05/0.305, allocations: 11.91 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.305, allocations: 8 kB / 0.788 GB, free: 8.457 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 0.0001022/0.3051, allocations: 127.3 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.3051, allocations: 4 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.3052, allocations: 8.375 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3052, allocations: 4 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3052, allocations: 4 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3052, allocations: 0 / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.3057, allocations: 382.2 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3057, allocations: 0 / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.779e-05/0.3058, allocations: 7.984 kB / 0.7885 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3058, allocations: 0 / 0.7885 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3058, allocations: 4 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3058, allocations: 7.938 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3058, allocations: 0 / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.3061, allocations: 199.3 kB / 0.7887 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.3062, allocations: 81.02 kB / 0.7888 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3062, allocations: 4 kB / 0.7888 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.829e-05/0.3063, allocations: 19.92 kB / 0.7888 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.3064, allocations: 0 / 0.7888 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.3064, allocations: 4 kB / 0.7888 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.558e-05/0.3064, allocations: 91.27 kB / 0.7889 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3064, allocations: 3.938 kB / 0.7889 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002748/0.3067, allocations: 20 kB / 0.7889 GB, free: 7.406 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.0006674/0.3074, allocations: 0.7437 MB / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000293/0.3077, allocations: 75.83 kB / 0.7897 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3077, allocations: 0 / 0.7897 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.3078, allocations: 32.41 kB / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.3081, allocations: 28.91 kB / 0.7898 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.3101, allocations: 1.517 MB / 0.7913 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.3103, allocations: 0.6885 MB / 0.792 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.976e-05/0.3104, allocations: 8 kB / 0.792 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.3104, allocations: 23.42 kB / 0.792 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.3104, allocations: 0 / 0.792 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.3302, allocations: 2.09 MB / 0.794 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.322, allocations: 448 / 0.794 GB, free: 2.203 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv --start-time 1 --stop-time 6 --timeout 50 --relative-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)