Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.368/2.368, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001411, allocations: 180.8 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.634/2.634, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008639/0.0008638, allocations: 90.3 kB / 0.6812 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.000481, allocations: 16.47 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2047, allocations: 106.3 MB / 0.8991 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001695/0.2064, allocations: 1.116 MB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004423/0.2069, allocations: 185.5 kB / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.207, allocations: 4 kB / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.207, allocations: 0 / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.583e-05/0.2071, allocations: 3.938 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.2072, allocations: 15.98 kB / 0.9004 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.129e-05/0.2073, allocations: 35.84 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.2075, allocations: 12 kB / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.2075, allocations: 7.984 kB / 0.9004 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/0.2076, allocations: 15.92 kB / 0.9004 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.2076, allocations: 3.938 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.2076, allocations: 4 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.2077, allocations: 3.938 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.2077, allocations: 33.7 kB / 0.9005 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.382e-05/0.2078, allocations: 19.94 kB / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2078, allocations: 0 / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.136e-06/0.2078, allocations: 0 / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.2078, allocations: 3.938 kB / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004752/0.2083, allocations: 351.7 kB / 0.9008 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2084, allocations: 8.031 kB / 0.9008 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.2084, allocations: 8.844 kB / 0.9008 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.906e-05/0.2085, allocations: 168.4 kB / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2085, allocations: 384 / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.2086, allocations: 4.375 kB / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.2088, allocations: 70.16 kB / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2088, allocations: 192 / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2089, allocations: 3.938 kB / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2089, allocations: 4 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.2092, allocations: 47.97 kB / 0.9011 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.2096, allocations: 264.9 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.2098, allocations: 50.53 kB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.21, allocations: 40.83 kB / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.21, allocations: 0 / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.2103, allocations: 71.39 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.074e-06/0.2103, allocations: 4 kB / 0.9015 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0005595/0.2109, allocations: 117.6 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.2109, allocations: 51.41 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.226e-05/0.211, allocations: 109.8 kB / 0.9018 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.211, allocations: 29.7 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.2111, allocations: 84.14 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.2111, allocations: 11.75 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.2111, allocations: 4 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.2112, allocations: 318.8 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.2113, allocations: 27.98 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.2115, allocations: 42.73 kB / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.2117, allocations: 31.92 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2117, allocations: 4 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003458/0.212, allocations: 89.59 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2121, allocations: 4 kB / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.2121, allocations: 8.094 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2121, allocations: 3.984 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2123, allocations: 15.92 kB / 0.9025 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2123, allocations: 11.88 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.2124, allocations: 4 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.2124, allocations: 7.984 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.757e-05/0.2125, allocations: 117.8 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.2125, allocations: 7.906 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.2126, allocations: 7.906 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2126, allocations: 4 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2126, allocations: 0 / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2126, allocations: 0 / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.2132, allocations: 342.5 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2132, allocations: 0 / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.013e-05/0.2133, allocations: 11.98 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2133, allocations: 0 / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.2133, allocations: 0 / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2134, allocations: 0 / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2134, allocations: 0 / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.2137, allocations: 195.4 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/0.2138, allocations: 81.02 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.2138, allocations: 4 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.2139, allocations: 11.98 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.214, allocations: 11.94 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.214, allocations: 3.938 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.2141, allocations: 83.27 kB / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2141, allocations: 0 / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002829/0.2144, allocations: 12 kB / 0.9033 GB, free: 60.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000114/0.2145, allocations: 95.25 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003709/0.2149, allocations: 63.95 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2149, allocations: 0 / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.2151, allocations: 31.92 kB / 0.9035 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.2154, allocations: 16.16 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.2158, allocations: 136.5 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.2159, allocations: 0.677 MB / 0.9043 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.697e-05/0.216, allocations: 4 kB / 0.9043 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.216, allocations: 7.438 kB / 0.9043 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/0.216, allocations: 4 kB / 0.9043 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.003126/0.2192, allocations: 494.7 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)