Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.371/1.371, allocations: 252 MB / 268 MB, free: 10.84 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.0009599/0.0009598, allocations: 179.6 kB / 327.6 MB, free: 2.086 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.897/1.897, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0008937/0.0008937, allocations: 95.03 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003891, allocations: 15.58 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2686, allocations: 106.3 MB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001731/0.2704, allocations: 1.195 MB / 0.9026 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004326/0.2709, allocations: 220.3 kB / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.425e-05/0.271, allocations: 0 / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.271, allocations: 0 / 0.9028 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.865e-05/0.2711, allocations: 7.875 kB / 0.9029 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.2713, allocations: 19.98 kB / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.984e-05/0.2714, allocations: 63.77 kB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2715, allocations: 19.98 kB / 0.9029 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.2716, allocations: 19.92 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.2716, allocations: 19.91 kB / 0.903 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.2717, allocations: 4 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/0.2717, allocations: 7.938 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.2717, allocations: 4 kB / 0.903 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.2718, allocations: 53.55 kB / 0.9031 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.361e-05/0.2718, allocations: 35.91 kB / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2719, allocations: 0 / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2719, allocations: 0 / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2719, allocations: 0 / 0.9031 GB, free: 61.78 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005294/0.2724, allocations: 375.6 kB / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.2725, allocations: 12.03 kB / 0.9035 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.2725, allocations: 4.844 kB / 0.9035 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.2726, allocations: 180.2 kB / 0.9036 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.2727, allocations: 8.375 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2727, allocations: 8.375 kB / 0.9037 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.2729, allocations: 70.22 kB / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2729, allocations: 192 / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.2729, allocations: 3.938 kB / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2729, allocations: 0 / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.2731, allocations: 67.83 kB / 0.9038 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.2736, allocations: 304.7 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.274, allocations: 126.5 kB / 0.9042 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.2741, allocations: 36.95 kB / 0.9042 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.2742, allocations: 0 / 0.9042 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.2744, allocations: 91.31 kB / 0.9043 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.2744, allocations: 0 / 0.9043 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004161/0.2749, allocations: 145.5 kB / 0.9045 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.2749, allocations: 55.47 kB / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.275, allocations: 113.8 kB / 0.9046 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.275, allocations: 33.7 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.2751, allocations: 92.03 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.2751, allocations: 15.84 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.2751, allocations: 3.938 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.602e-05/0.2752, allocations: 326.8 kB / 0.9051 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.2753, allocations: 31.98 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.2754, allocations: 59.41 kB / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.2756, allocations: 91.33 kB / 0.9052 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2756, allocations: 0 / 0.9052 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002405/0.2758, allocations: 125.5 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2759, allocations: 8 kB / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2759, allocations: 0 / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2759, allocations: 0 / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.276, allocations: 24.02 kB / 0.9054 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.276, allocations: 4 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/0.2761, allocations: 19.89 kB / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.2761, allocations: 0.5625 kB / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.39e-05/0.2762, allocations: 128 kB / 0.9055 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/0.2762, allocations: 0 / 0.9055 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.2762, allocations: 16.38 kB / 0.9056 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2762, allocations: 0 / 0.9056 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2762, allocations: 0 / 0.9056 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2763, allocations: 3.938 kB / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.2766, allocations: 382.3 kB / 0.9059 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2767, allocations: 3.984 kB / 0.9059 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.2767, allocations: 11.94 kB / 0.9059 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2767, allocations: 0 / 0.9059 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/0.2767, allocations: 3.984 kB / 0.9059 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2768, allocations: 4 kB / 0.9059 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2768, allocations: 3.938 kB / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.277, allocations: 207.5 kB / 0.9061 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.2771, allocations: 85.02 kB / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.2771, allocations: 8.047 kB / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2772, allocations: 19.98 kB / 0.9063 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.2772, allocations: 11.92 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2773, allocations: 4 kB / 0.9063 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.171e-05/0.2773, allocations: 87.28 kB / 0.9064 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2773, allocations: 0 / 0.9064 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002078/0.2775, allocations: 19.94 kB / 0.9064 GB, free: 58.07 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: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * 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.0001094/0.2776, allocations: 99.23 kB / 0.9065 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.2779, allocations: 83.89 kB / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2779, allocations: 0 / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.278, allocations: 48.38 kB / 0.9066 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.2783, allocations: 8.188 kB / 0.9066 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.2786, allocations: 212.5 kB / 0.9068 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.2788, allocations: 0.6887 MB / 0.9075 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.2788, allocations: 15.44 kB / 0.9075 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.2788, allocations: 0 / 0.9075 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.002142/0.281, allocations: 0.9591 MB / 0.9084 GB, free: 55.9 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)