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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008537/0.0008537, allocations: 92 kB / 15.06 MB, free: 1.098 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.0009415/0.0009417, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.673/1.673, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005369/0.0005371, allocations: 20.11 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2382, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001001/0.2392, allocations: 481.3 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.2407, allocations: 1.048 MB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.2407, allocations: 0 / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.2408, allocations: 3.984 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.2409, allocations: 15.86 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.2411, allocations: 39.97 kB / 0.7888 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.822e-05/0.2412, allocations: 67.77 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2414, allocations: 16.12 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.2415, allocations: 19.92 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.2415, allocations: 31.83 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.2416, allocations: 4 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.035e-05/0.2416, allocations: 19.98 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.2417, allocations: 15.86 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.2417, allocations: 33.7 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.68e-05/0.2418, allocations: 51.88 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2418, allocations: 0 / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2418, allocations: 4 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2418, allocations: 0 / 0.7891 GB, free: 10.06 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.000529/0.2424, allocations: 371.4 kB / 0.7895 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2424, allocations: 12.03 kB / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.2424, allocations: 7.906 kB / 0.7895 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2426, allocations: 174.9 kB / 0.7896 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.2426, allocations: 4 kB / 0.7896 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.2426, allocations: 11.98 kB / 0.7897 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.2428, allocations: 69.66 kB / 0.7897 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2428, allocations: 0 / 0.7897 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2429, allocations: 4 kB / 0.7897 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2429, allocations: 0 / 0.7897 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.2431, allocations: 59.89 kB / 0.7898 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.2437, allocations: 332.7 kB / 0.7901 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.2438, allocations: 54.55 kB / 0.7902 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.563e-05/0.244, allocations: 40.97 kB / 0.7902 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.244, allocations: 4.031 kB / 0.7902 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.2442, allocations: 83.36 kB / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.2442, allocations: 4 kB / 0.7903 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005306/0.2448, allocations: 137.5 kB / 0.7904 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.2448, allocations: 59.41 kB / 0.7905 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.2449, allocations: 129.7 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.245, allocations: 29.7 kB / 0.7906 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.245, allocations: 88.05 kB / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.2451, allocations: 23.72 kB / 0.7907 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.2451, allocations: 0 / 0.7907 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2452, allocations: 322.8 kB / 0.791 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.2453, allocations: 43.91 kB / 0.7911 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.2454, allocations: 73.98 kB / 0.7911 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.2456, allocations: 39.98 kB / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2456, allocations: 0 / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000308/0.2459, allocations: 149.3 kB / 0.7913 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2459, allocations: 4 kB / 0.7913 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.2459, allocations: 4 kB / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2459, allocations: 0 / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.2461, allocations: 24.2 kB / 0.7914 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2461, allocations: 4 kB / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.585e-05/0.2462, allocations: 23.84 kB / 0.7914 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.2462, allocations: 4 kB / 0.7914 GB, free: 7.477 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 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.2463, allocations: 120.9 kB / 0.7915 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.2463, allocations: 7.906 kB / 0.7915 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.2464, allocations: 8.375 kB / 0.7915 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2464, allocations: 0 / 0.7915 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.2464, allocations: 11.98 kB / 0.7915 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2464, allocations: 4 kB / 0.7915 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.2469, allocations: 386.7 kB / 0.7919 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2469, allocations: 0 / 0.7919 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.247, allocations: 15.98 kB / 0.7919 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.247, allocations: 0 / 0.7919 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.247, allocations: 4 kB / 0.7919 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.247, allocations: 0 / 0.7919 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.247, allocations: 3.953 kB / 0.7919 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.2473, allocations: 215.4 kB / 0.7921 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.2473, allocations: 84.95 kB / 0.7922 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.2474, allocations: 7.938 kB / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.2474, allocations: 7.984 kB / 0.7922 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.2475, allocations: 15.94 kB / 0.7922 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.2475, allocations: 0 / 0.7922 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.378e-05/0.2476, allocations: 99.27 kB / 0.7923 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2476, allocations: 0 / 0.7923 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002499/0.2478, allocations: 12 kB / 0.7923 GB, free: 6.395 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001688/0.248, allocations: 111.2 kB / 0.7925 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.2483, allocations: 87.94 kB / 0.7925 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2483, allocations: 0 / 0.7925 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.2484, allocations: 39.91 kB / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.2487, allocations: 16.31 kB / 0.7926 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.249, allocations: 173.4 kB / 0.7928 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.2493, allocations: 0.6926 MB / 0.7934 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.715e-05/0.2494, allocations: 4 kB / 0.7934 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.2494, allocations: 15.44 kB / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2494, allocations: 0 / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of Templates: time 0.003212/0.2526, allocations: 0.8371 MB / 0.7943 GB, free: 4.395 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) Environment - environmentSimulation: