Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009669/0.0009668, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008836/0.0008836, allocations: 177.3 kB / 15.94 MB, free: 228 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.575/1.575, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.782/1.782, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005854/0.0005855, allocations: 14.69 kB / 0.6736 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2565, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001048/0.2576, allocations: 478.1 kB / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.2591, allocations: 1.103 MB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.2592, allocations: 0 / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.2592, allocations: 3.938 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.392e-05/0.2593, allocations: 19.95 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.2598, allocations: 125.4 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.2599, allocations: 55.92 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.26, allocations: 8 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.2601, allocations: 39.91 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.522e-05/0.2602, allocations: 39.81 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.2603, allocations: 8 kB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.459e-05/0.2603, allocations: 15.98 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.2604, allocations: 4 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.2604, allocations: 45.64 kB / 0.789 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.2606, allocations: 75.81 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2606, allocations: 0 / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2606, allocations: 4 kB / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.2606, allocations: 0 / 0.7891 GB, free: 9.914 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005908/0.2612, allocations: 403.8 kB / 0.7895 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2612, allocations: 8.031 kB / 0.7895 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.2613, allocations: 8 kB / 0.7895 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.2614, allocations: 174.9 kB / 0.7897 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.2614, allocations: 4 kB / 0.7897 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.2615, allocations: 4 kB / 0.7897 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.2617, allocations: 77.59 kB / 0.7897 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2617, allocations: 0 / 0.7897 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2617, allocations: 0 / 0.7897 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.2617, allocations: 4 kB / 0.7897 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.2619, allocations: 59.89 kB / 0.7898 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.2624, allocations: 336.7 kB / 0.7901 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.2626, allocations: 66.53 kB / 0.7902 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.2626, allocations: 0 / 0.7902 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.2629, allocations: 99.47 kB / 0.7903 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.2629, allocations: 0 / 0.7903 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.000436/0.2633, allocations: 157.6 kB / 0.7904 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.2634, allocations: 67.27 kB / 0.7905 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.955e-05/0.2635, allocations: 121.7 kB / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.2635, allocations: 33.7 kB / 0.7906 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.2636, allocations: 92.12 kB / 0.7907 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.2636, allocations: 15.81 kB / 0.7907 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.2637, allocations: 0 / 0.7907 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2638, allocations: 326.8 kB / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.2639, allocations: 55.97 kB / 0.7911 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.2641, allocations: 88.25 kB / 0.7912 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.2643, allocations: 85.67 kB / 0.7913 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2643, allocations: 0 / 0.7913 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004187/0.2647, allocations: 223.1 kB / 0.7915 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.2647, allocations: 33.7 kB / 0.7915 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2648, allocations: 0 / 0.7915 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2648, allocations: 4 kB / 0.7915 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.2649, allocations: 15.98 kB / 0.7915 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.2649, allocations: 7.938 kB / 0.7915 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.2651, allocations: 54.27 kB / 0.7916 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.2651, allocations: 4 kB / 0.7916 GB, free: 7.086 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001164/0.2653, allocations: 137.7 kB / 0.7917 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.2653, allocations: 7.906 kB / 0.7917 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.2653, allocations: 4.375 kB / 0.7917 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2653, allocations: 0 / 0.7917 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2653, allocations: 4 kB / 0.7917 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2653, allocations: 0 / 0.7917 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.2658, allocations: 390.4 kB / 0.7921 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2658, allocations: 0 / 0.7921 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.2659, allocations: 11.98 kB / 0.7921 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2659, allocations: 4 kB / 0.7921 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.2659, allocations: 0 / 0.7921 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2659, allocations: 0 / 0.7921 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2659, allocations: 0 / 0.7921 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.2662, allocations: 231.3 kB / 0.7924 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.2663, allocations: 81.02 kB / 0.7924 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.2663, allocations: 4 kB / 0.7924 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.2664, allocations: 11.98 kB / 0.7924 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.2664, allocations: 7.984 kB / 0.7925 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.2665, allocations: 12.06 kB / 0.7925 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.2665, allocations: 91.27 kB / 0.7926 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2665, allocations: 0 / 0.7926 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002421/0.2668, allocations: 20 kB / 0.7926 GB, free: 5.988 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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 (8): * Single equations (assignments): 6 * 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.0001923/0.267, allocations: 107.2 kB / 0.7927 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.2673, allocations: 191.2 kB / 0.7929 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2673, allocations: 0 / 0.7929 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.2675, allocations: 48.16 kB / 0.7929 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.2677, allocations: 15.98 kB / 0.7929 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.2681, allocations: 175.8 kB / 0.7931 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.2683, allocations: 0.6965 MB / 0.7938 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.331e-05/0.2684, allocations: 7.984 kB / 0.7938 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.2684, allocations: 7.438 kB / 0.7938 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2684, allocations: 4 kB / 0.7938 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of Templates: time 0.003793/0.2722, allocations: 1.274 MB / 0.795 GB, free: 3.41 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) Environment - environmentSimulation: