Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008794/0.0008794, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000871/0.000871, allocations: 172.8 kB / 25.18 MB, free: 8.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9042/0.9042, allocations: 177.1 MB / 205.6 MB, free: 4.387 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.982/1.982, allocations: 389.6 MB / 0.6364 GB, free: 13.33 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.7755 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.946e-05, allocations: 2.312 kB / 0.7755 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002537/0.002567, allocations: 0.8023 MB / 0.7763 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.004347, allocations: 1.213 MB / 0.7775 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.004417, allocations: 0 / 0.7775 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.772e-05/0.004464, allocations: 7.922 kB / 0.7775 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.599e-05/0.00456, allocations: 15.86 kB / 0.7775 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.005096, allocations: 127.6 kB / 0.7777 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.005304, allocations: 131.7 kB / 0.7778 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.005404, allocations: 16.17 kB / 0.7778 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.005554, allocations: 75.86 kB / 0.7779 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.254e-05/0.005646, allocations: 35.89 kB / 0.7779 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.005676, allocations: 12 kB / 0.7779 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.00578, allocations: 27.97 kB / 0.7779 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.005809, allocations: 19.92 kB / 0.778 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.721e-05/0.005866, allocations: 39.95 kB / 0.778 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.006056, allocations: 99.69 kB / 0.7781 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.00606, allocations: 0 / 0.7781 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006061, allocations: 0 / 0.7781 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.006066, allocations: 8 kB / 0.7781 GB, free: 11.97 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004692/0.006535, allocations: 310.3 kB / 0.7784 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.006572, allocations: 12.03 kB / 0.7784 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.006698, allocations: 12.92 kB / 0.7784 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.006801, allocations: 121.6 kB / 0.7785 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.006821, allocations: 8.375 kB / 0.7785 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.006844, allocations: 12.31 kB / 0.7786 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.006981, allocations: 70.92 kB / 0.7786 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.006989, allocations: 192 / 0.7786 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.006997, allocations: 384 / 0.7786 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.007004, allocations: 8.125 kB / 0.7786 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.289e-05/0.007037, allocations: 11.98 kB / 0.7786 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.007406, allocations: 200.2 kB / 0.7788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.438e-05/0.00749, allocations: 34.56 kB / 0.7789 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.007518, allocations: 17.06 kB / 0.7789 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.007535, allocations: 3.938 kB / 0.7789 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.007648, allocations: 71.3 kB / 0.779 GB, free: 11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.00765, allocations: 0 / 0.779 GB, free: 11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001625/0.007813, allocations: 69.67 kB / 0.779 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.007855, allocations: 63.34 kB / 0.7791 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.408e-05/0.007939, allocations: 126.6 kB / 0.7792 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.007962, allocations: 25.7 kB / 0.7792 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.008011, allocations: 96.12 kB / 0.7793 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.008036, allocations: 19.78 kB / 0.7793 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.008107, allocations: 41.69 kB / 0.7794 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.008205, allocations: 318.8 kB / 0.7797 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.00828, allocations: 53.69 kB / 0.7797 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.101e-05/0.008371, allocations: 94.58 kB / 0.7798 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.008496, allocations: 110.8 kB / 0.7799 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.008499, allocations: 0 / 0.7799 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002415/0.00874, allocations: 184.8 kB / 0.7801 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.824e-05/0.008778, allocations: 29.7 kB / 0.7801 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.008786, allocations: 4.156 kB / 0.7801 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.008796, allocations: 4 kB / 0.7801 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.008901, allocations: 23.92 kB / 0.7802 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.008905, allocations: 4 kB / 0.7802 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.009024, allocations: 23.97 kB / 0.7802 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.009043, allocations: 4 kB / 0.7802 GB, free: 9.594 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.239e-05/0.009135, allocations: 129.7 kB / 0.7803 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.009153, allocations: 11.92 kB / 0.7803 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.009274, allocations: 62.11 kB / 0.7804 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.009278, allocations: 4 kB / 0.7804 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.00928, allocations: 0 / 0.7804 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.009284, allocations: 0 / 0.7804 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.009504, allocations: 222.7 kB / 0.7806 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.009506, allocations: 0 / 0.7806 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.009565, allocations: 15.94 kB / 0.7806 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.009569, allocations: 0 / 0.7806 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.009576, allocations: 0 / 0.7806 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.009579, allocations: 3.984 kB / 0.7806 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.009581, allocations: 0 / 0.7806 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.009709, allocations: 163.9 kB / 0.7808 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.009729, allocations: 7.891 kB / 0.7808 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.009743, allocations: 4 kB / 0.7808 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.253e-05/0.009805, allocations: 0 / 0.7808 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.009838, allocations: 7.984 kB / 0.7808 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.009845, allocations: 4 kB / 0.7808 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.359e-05/0.009869, allocations: 25.31 kB / 0.7808 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.009869, allocations: 0 / 0.7808 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002498/0.01012, allocations: 24 kB / 0.7809 GB, free: 8.859 MB / 0.7448 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001515/0.01027, allocations: 92.34 kB / 0.7809 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.01049, allocations: 157.9 kB / 0.7811 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.01049, allocations: 0 / 0.7811 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.477e-05/0.01054, allocations: 24.78 kB / 0.7811 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01076, allocations: 15.98 kB / 0.7811 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.01133, allocations: 218.6 kB / 0.7813 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.683e-05/0.01141, allocations: 75.33 kB / 0.7814 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.01151, allocations: 67.36 kB / 0.7815 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.01151, allocations: 0 / 0.7815 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of Templates: time 0.002841/0.01435, allocations: 1.323 MB / 0.7828 GB, free: 6.816 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.407945035025477]