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.001515/0.001515, allocations: 105.4 kB / 15.7 MB, free: 24 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.001649/0.001649, allocations: 193.4 kB / 16.64 MB, free: 6.453 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.39/1.39, allocations: 205.1 MB / 222.5 MB, free: 4.582 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.722/1.722, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001418/0.001418, allocations: 72.05 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2426, allocations: 114.6 MB / 0.7837 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002062/0.2448, allocations: 0.7632 MB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2461, allocations: 1.063 MB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.2462, allocations: 0 / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.2463, allocations: 7.938 kB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.53e-05/0.2464, allocations: 19.84 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.2467, allocations: 43.84 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2468, allocations: 75.77 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2469, allocations: 16.17 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.004e-05/0.247, allocations: 31.86 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.2471, allocations: 35.83 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.2471, allocations: 12 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.949e-05/0.2472, allocations: 19.98 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.2472, allocations: 15.92 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.2473, allocations: 27.86 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.2474, allocations: 83.97 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.2474, allocations: 0 / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2474, allocations: 0 / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.2475, allocations: 0 / 0.7858 GB, free: 11.01 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.0005649/0.248, allocations: 371.3 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.2481, allocations: 12.03 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.2481, allocations: 42.73 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.2482, allocations: 4.844 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.2483, allocations: 184.1 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2483, allocations: 4.375 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.2484, allocations: 8.375 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.2486, allocations: 73.91 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2486, allocations: 0 / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.2486, allocations: 0 / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2486, allocations: 0 / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.2488, allocations: 55.88 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.2494, allocations: 321.7 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.2496, allocations: 54.56 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.2497, allocations: 36.98 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.2497, allocations: 4 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.25, allocations: 71.38 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.25, allocations: 0 / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004282/0.2504, allocations: 137.8 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.2505, allocations: 55.41 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.2506, allocations: 117.8 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.2506, allocations: 37.69 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.2507, allocations: 84.14 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.2507, allocations: 15.75 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.2507, allocations: 29.7 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2509, allocations: 330.8 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.251, allocations: 23.98 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.2511, allocations: 73.97 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.2514, allocations: 101.9 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2514, allocations: 3.938 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003043/0.2517, allocations: 137.4 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2517, allocations: 8 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2518, allocations: 0 / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2518, allocations: 7.938 kB / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2519, allocations: 15.98 kB / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.2519, allocations: 12.22 kB / 0.7882 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.252, allocations: 19.89 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.252, allocations: 4 kB / 0.7882 GB, free: 8.324 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 9.291e-05/0.2521, allocations: 117.8 kB / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.2522, allocations: 4 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.2522, allocations: 20.3 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2522, allocations: 0 / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2522, allocations: 0 / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2522, allocations: 0 / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.2527, allocations: 386.2 kB / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2527, allocations: 0 / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.2527, allocations: 8 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2527, allocations: 0 / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.2528, allocations: 0 / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.2528, allocations: 11.92 kB / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2528, allocations: 0 / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.253, allocations: 199.4 kB / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.2531, allocations: 89.02 kB / 0.789 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.2531, allocations: 3.984 kB / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.2532, allocations: 7.938 kB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.2533, allocations: 3.984 kB / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2533, allocations: 4 kB / 0.789 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.2533, allocations: 99.92 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2533, allocations: 0 / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002451/0.2536, allocations: 16 kB / 0.7891 GB, free: 7.273 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.0006306/0.2542, allocations: 0.7401 MB / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.2545, allocations: 79.88 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2545, allocations: 0 / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.2546, allocations: 27.98 kB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.2549, allocations: 28.3 kB / 0.79 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.2566, allocations: 1.521 MB / 0.7914 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.2568, allocations: 0.6885 MB / 0.7921 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.2569, allocations: 11.98 kB / 0.7921 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.2569, allocations: 19.44 kB / 0.7921 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2569, allocations: 0 / 0.7921 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.2747, allocations: 2.098 MB / 0.7942 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/7.929, allocations: 8.188 kB / 0.7942 GB, free: 2.066 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)