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.001397/0.001397, allocations: 108 kB / 15.6 MB, free: 132 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.001598/0.001598, allocations: 198.5 kB / 16.53 MB, free: 6.391 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.775/1.775, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.871/1.871, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001439/0.001439, allocations: 71.47 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2837, allocations: 114.6 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002286/0.2861, allocations: 0.7549 MB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.2876, allocations: 1.067 MB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.2876, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.585e-05/0.2877, allocations: 11.86 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.417e-05/0.2878, allocations: 15.86 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.2881, allocations: 43.89 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.2883, allocations: 79.7 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.2884, allocations: 20.17 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.2885, allocations: 27.92 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.2886, allocations: 35.83 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.2886, allocations: 8 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.184e-05/0.2887, allocations: 19.98 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.2887, allocations: 15.98 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.348e-05/0.2888, allocations: 35.78 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.289, allocations: 79.97 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.289, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.289, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.289, allocations: 0 / 0.7857 GB, free: 11.11 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.0005969/0.2896, allocations: 375.3 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.2897, allocations: 12.02 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.2897, allocations: 38.75 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.2897, allocations: 8.844 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.2899, allocations: 180.1 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2899, allocations: 384 / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.29, allocations: 8.375 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.2902, allocations: 77.91 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2902, allocations: 0 / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2902, allocations: 4 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2902, allocations: 0 / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.2904, allocations: 51.89 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006913/0.2911, allocations: 325.7 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.2913, allocations: 50.59 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.2914, allocations: 36.95 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.2914, allocations: 0 / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.2917, allocations: 79.38 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.2917, allocations: 0 / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004859/0.2922, allocations: 129.5 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.2923, allocations: 59.34 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.2924, allocations: 121.8 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.2924, allocations: 25.7 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.2925, allocations: 96.14 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.2925, allocations: 11.75 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.2926, allocations: 37.64 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2928, allocations: 322.8 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.2929, allocations: 27.97 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.293, allocations: 73.98 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.2933, allocations: 105.9 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2933, allocations: 4 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003297/0.2936, allocations: 133.4 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2936, allocations: 4.219 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2937, allocations: 8 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2937, allocations: 0 / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2938, allocations: 15.98 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.2939, allocations: 7.938 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.2939, allocations: 11.89 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.294, allocations: 8 kB / 0.788 GB, free: 8.438 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.000114/0.2941, allocations: 124.4 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.2941, allocations: 0 / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.2941, allocations: 20.36 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2942, allocations: 3.984 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2942, allocations: 0 / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2942, allocations: 0 / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.2947, allocations: 386.2 kB / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2947, allocations: 0 / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.044e-05/0.2948, allocations: 4 kB / 0.7885 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2948, allocations: 8 kB / 0.7885 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.2948, allocations: 0 / 0.7885 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.2948, allocations: 7.922 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2948, allocations: 0 / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.2951, allocations: 199.3 kB / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.2952, allocations: 85.02 kB / 0.7888 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.2953, allocations: 19.92 kB / 0.7888 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.08e-05/0.2953, allocations: 7.938 kB / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.2954, allocations: 7.984 kB / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2954, allocations: 0 / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.081e-05/0.2955, allocations: 95.27 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2955, allocations: 0 / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002569/0.2957, allocations: 16 kB / 0.789 GB, free: 7.375 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.0006894/0.2964, allocations: 0.7398 MB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002891/0.2967, allocations: 76.42 kB / 0.7897 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.2968, allocations: 4.438 kB / 0.7897 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.2969, allocations: 39.91 kB / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.2972, allocations: 18.92 kB / 0.7898 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.2992, allocations: 1.518 MB / 0.7913 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.2996, allocations: 0.6923 MB / 0.792 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.163e-05/0.2996, allocations: 4 kB / 0.792 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.2997, allocations: 27.42 kB / 0.792 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2997, allocations: 0 / 0.792 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.3205, allocations: 2.062 MB / 0.794 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.399, allocations: 4.5 kB / 0.794 GB, free: 2.184 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv --start-time -2 --stop-time 3 --timeout 50 --relative-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)