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.001297/0.001297, allocations: 105.4 kB / 15.7 MB, free: 20 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.001173/0.001173, allocations: 194.7 kB / 16.64 MB, free: 6.582 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.421/1.421, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.744/1.744, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001385/0.001385, allocations: 69.16 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.227, allocations: 114.5 MB / 0.7837 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002042/0.2291, allocations: 0.7554 MB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.2304, allocations: 1.074 MB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.2305, allocations: 0 / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.695e-05/0.2305, allocations: 11.86 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.243e-05/0.2306, allocations: 3.938 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.2309, allocations: 55.83 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.231, allocations: 71.77 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2311, allocations: 16.19 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.437e-05/0.2312, allocations: 39.83 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.2313, allocations: 31.86 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.2313, allocations: 4 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.717e-05/0.2314, allocations: 19.98 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.2314, allocations: 15.92 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.2315, allocations: 35.84 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.2316, allocations: 79.97 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2316, allocations: 0 / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2316, allocations: 0 / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.2316, allocations: 0 / 0.7858 GB, free: 10.98 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.0005384/0.2322, allocations: 379.3 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2322, allocations: 12.03 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.2323, allocations: 34.69 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.2323, allocations: 8.844 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.2324, allocations: 184.1 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2324, allocations: 8.375 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.2325, allocations: 4.375 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.2327, allocations: 65.92 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2327, allocations: 11.98 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2327, allocations: 4 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2327, allocations: 3.984 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.2329, allocations: 43.91 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.2335, allocations: 317.7 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.2337, allocations: 66.58 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.78e-05/0.2338, allocations: 24.97 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.2338, allocations: 0 / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.234, allocations: 83.34 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.234, allocations: 4 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004082/0.2345, allocations: 129.5 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.2345, allocations: 55.34 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.2346, allocations: 121.8 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.2346, allocations: 29.7 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.2347, allocations: 88.14 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.2347, allocations: 23.73 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.2348, allocations: 29.7 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2349, allocations: 318.8 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.235, allocations: 31.97 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.2351, allocations: 77.97 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.2354, allocations: 113.8 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2354, allocations: 0 / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000305/0.2357, allocations: 125.4 kB / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2357, allocations: 4 kB / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2357, allocations: 4 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2358, allocations: 8.156 kB / 0.7881 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.2359, allocations: 27.92 kB / 0.7882 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2359, allocations: 3.984 kB / 0.7882 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.927e-05/0.236, allocations: 11.91 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.236, allocations: 4 kB / 0.7882 GB, free: 8.297 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.0001007/0.2361, allocations: 125.7 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.2361, allocations: 4 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.2362, allocations: 8.375 kB / 0.7883 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.2362, allocations: 4 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.2362, allocations: 4 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2362, allocations: 0 / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.2367, allocations: 374.3 kB / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2367, allocations: 4 kB / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.2368, allocations: 11.98 kB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2368, allocations: 0 / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2368, allocations: 4 kB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2368, allocations: 7.938 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2368, allocations: 0 / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.2371, allocations: 207.3 kB / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.2372, allocations: 81.02 kB / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2372, allocations: 0 / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.2373, allocations: 11.92 kB / 0.789 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.2373, allocations: 12 kB / 0.789 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.2373, allocations: 4 kB / 0.789 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.955e-05/0.2374, allocations: 91.27 kB / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2374, allocations: 0 / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002478/0.2377, allocations: 12 kB / 0.7891 GB, free: 7.25 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.0006332/0.2383, allocations: 0.7476 MB / 0.7898 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.2386, allocations: 71.89 kB / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2386, allocations: 0 / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.2387, allocations: 44.33 kB / 0.7899 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.239, allocations: 17.44 kB / 0.79 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.2407, allocations: 1.519 MB / 0.7914 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.2409, allocations: 0.6924 MB / 0.7921 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.241, allocations: 4 kB / 0.7921 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.241, allocations: 30.73 kB / 0.7921 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.241, allocations: 0 / 0.7921 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.2593, allocations: 2.095 MB / 0.7942 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/7.947, allocations: 8.188 kB / 0.7942 GB, free: 2.035 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)