Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.34/1.34, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009099/0.00091, allocations: 176 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007442/0.0007442, allocations: 90.95 kB / 0.6803 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 9.938 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2647, allocations: 105.4 MB / 0.8968 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00174/0.2665, allocations: 1.129 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004264/0.267, allocations: 193 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.2671, allocations: 0 / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.753e-05/0.2671, allocations: 3.984 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.659e-05/0.2672, allocations: 3.938 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.2673, allocations: 12 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.72e-05/0.2674, allocations: 35.86 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2675, allocations: 11.98 kB / 0.8981 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.2676, allocations: 7.938 kB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.2677, allocations: 19.92 kB / 0.8981 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.2677, allocations: 0 / 0.8981 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.2677, allocations: 4 kB / 0.8981 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.2677, allocations: 15.84 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.2678, allocations: 11.94 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.722e-05/0.2679, allocations: 24.17 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2679, allocations: 0 / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2679, allocations: 0 / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2679, allocations: 4 kB / 0.8982 GB, free: 66.64 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.0004319/0.2683, allocations: 351.4 kB / 0.8985 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2684, allocations: 12.03 kB / 0.8985 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.2684, allocations: 0.9375 kB / 0.8985 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.041e-05/0.2685, allocations: 176.2 kB / 0.8987 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.2685, allocations: 384 / 0.8987 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.2685, allocations: 4.375 kB / 0.8987 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.2687, allocations: 66.17 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2687, allocations: 4.188 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2688, allocations: 3.938 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2688, allocations: 0 / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.2689, allocations: 43.95 kB / 0.8988 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.2693, allocations: 269 kB / 0.8991 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.2694, allocations: 54.44 kB / 0.8991 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.2695, allocations: 33.81 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.2695, allocations: 3.984 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.2697, allocations: 67.39 kB / 0.8992 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.234e-06/0.2697, allocations: 0 / 0.8992 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003501/0.2701, allocations: 121.6 kB / 0.8994 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.2701, allocations: 59.33 kB / 0.8994 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.676e-05/0.2702, allocations: 113.8 kB / 0.8995 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.2702, allocations: 29.69 kB / 0.8996 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.2702, allocations: 88.14 kB / 0.8996 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.2703, allocations: 7.906 kB / 0.8996 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/0.2703, allocations: 13.72 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.2703, allocations: 318.8 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.2704, allocations: 23.98 kB / 0.9 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.6e-05/0.2705, allocations: 42.56 kB / 0.9 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.2707, allocations: 82.41 kB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2707, allocations: 0 / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001944/0.2709, allocations: 93.66 kB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2709, allocations: 8.031 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2709, allocations: 0 / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.271, allocations: 192 / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.271, allocations: 15.98 kB / 0.9002 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2711, allocations: 0 / 0.9002 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.2711, allocations: 15.89 kB / 0.9002 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2711, allocations: 7.922 kB / 0.9002 GB, free: 64.3 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 (triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.956e-05/0.2712, allocations: 125.7 kB / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-06/0.2712, allocations: 0 / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.2712, allocations: 11.91 kB / 0.9004 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2712, allocations: 0 / 0.9004 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2713, allocations: 128 / 0.9004 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2713, allocations: 0 / 0.9004 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.2716, allocations: 346.5 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2716, allocations: 4 kB / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.2717, allocations: 7.984 kB / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2717, allocations: 4 kB / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2717, allocations: 0 / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2717, allocations: 0 / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2717, allocations: 0 / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.2719, allocations: 203.3 kB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.2719, allocations: 77.11 kB / 0.901 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.272, allocations: 3.938 kB / 0.901 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.272, allocations: 15.98 kB / 0.901 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.2721, allocations: 4 kB / 0.901 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.2721, allocations: 3.938 kB / 0.901 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.761e-05/0.2721, allocations: 87.27 kB / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2721, allocations: 0 / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000194/0.2723, allocations: 8 kB / 0.9011 GB, free: 63.31 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 (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.0001114/0.2724, allocations: 99.25 kB / 0.9012 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.2727, allocations: 67.89 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2727, allocations: 0 / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.497e-05/0.2728, allocations: 36.16 kB / 0.9013 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.273, allocations: 4 kB / 0.9013 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.2733, allocations: 156.9 kB / 0.9014 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.2734, allocations: 0.6848 MB / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.2735, allocations: 11.38 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2735, allocations: 4 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.001813/0.2753, allocations: 0.7006 MB / 0.9028 GB, free: 61.5 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)