Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 99.7 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.001274/0.001274, allocations: 177.3 kB / 15.95 MB, free: 216 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.318/1.318, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.623/1.623, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005292/0.0005293, allocations: 17.81 kB / 0.6736 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2143, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0008022/0.2151, allocations: 344.2 kB / 0.7875 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2166, allocations: 1.066 MB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.2166, allocations: 4 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.2167, allocations: 3.938 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.659e-05/0.2167, allocations: 11.98 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.2172, allocations: 106.2 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.058e-05/0.2173, allocations: 43.95 kB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.671e-05/0.2174, allocations: 4 kB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.48e-05/0.2175, allocations: 31.95 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.811e-05/0.2176, allocations: 23.91 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.2176, allocations: 4 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.2177, allocations: 23.92 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.2177, allocations: 4 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.505e-05/0.2177, allocations: 37.64 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.2178, allocations: 55.86 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2179, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2179, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.2179, allocations: 0 / 0.7888 GB, free: 10.2 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003933/0.2183, allocations: 369.2 kB / 0.7892 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2183, allocations: 8.031 kB / 0.7892 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.2184, allocations: 4 kB / 0.7892 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.2186, allocations: 174.9 kB / 0.7894 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.2186, allocations: 4 kB / 0.7894 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.2186, allocations: 4 kB / 0.7894 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.499e-05/0.2187, allocations: 41.69 kB / 0.7894 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.2187, allocations: 3.938 kB / 0.7894 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2188, allocations: 3.938 kB / 0.7894 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2188, allocations: 0 / 0.7894 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.573e-05/0.2188, allocations: 8 kB / 0.7894 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.2192, allocations: 300.8 kB / 0.7897 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.042e-05/0.2193, allocations: 26.58 kB / 0.7897 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.2193, allocations: 0 / 0.7897 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.2194, allocations: 63.39 kB / 0.7898 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.2194, allocations: 0 / 0.7898 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001889/0.2196, allocations: 65.67 kB / 0.7899 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2197, allocations: 59.41 kB / 0.7899 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.2198, allocations: 113.8 kB / 0.79 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.2198, allocations: 25.7 kB / 0.7901 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.2199, allocations: 88.12 kB / 0.7901 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.2199, allocations: 7.906 kB / 0.7902 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.2199, allocations: 4 kB / 0.7902 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.22, allocations: 322.8 kB / 0.7905 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.2201, allocations: 35.86 kB / 0.7905 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.366e-05/0.2202, allocations: 54.56 kB / 0.7905 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.906e-05/0.2203, allocations: 57.69 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2203, allocations: 0 / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002286/0.2205, allocations: 143.3 kB / 0.7907 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.2206, allocations: 41.69 kB / 0.7908 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2206, allocations: 0 / 0.7908 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2206, allocations: 4.234 kB / 0.7908 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.177e-05/0.2206, allocations: 4.062 kB / 0.7908 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2207, allocations: 0 / 0.7908 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.2209, allocations: 39.88 kB / 0.7908 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.2209, allocations: 4 kB / 0.7908 GB, free: 7.914 MB / 0.6075 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 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.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): 4 * 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 8.827e-05/0.221, allocations: 129.7 kB / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.221, allocations: 7.984 kB / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.221, allocations: 3.906 kB / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2211, allocations: 0 / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2211, allocations: 0 / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2211, allocations: 0 / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.2212, allocations: 169.7 kB / 0.7911 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2212, allocations: 4 kB / 0.7911 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.729e-05/0.2212, allocations: 4 kB / 0.7911 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.2212, allocations: 0 / 0.7911 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.2213, allocations: 0 / 0.7911 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2213, allocations: 4 kB / 0.7911 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2213, allocations: 400 / 0.7911 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.2214, allocations: 96.91 kB / 0.7912 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.2214, allocations: 77.11 kB / 0.7913 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.2215, allocations: 0 / 0.7913 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.713e-05/0.2215, allocations: 4 kB / 0.7913 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.2215, allocations: 11.92 kB / 0.7913 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.2215, allocations: 0 / 0.7913 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.4e-05/0.2216, allocations: 91.27 kB / 0.7914 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2216, allocations: 4 kB / 0.7914 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002055/0.2218, allocations: 12 kB / 0.7914 GB, free: 7.203 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: 3 ($whenCondition1,$whenCondition2,booPul.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.0001371/0.222, allocations: 103.2 kB / 0.7915 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.2222, allocations: 127.3 kB / 0.7916 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2222, allocations: 0 / 0.7916 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.2222, allocations: 15.94 kB / 0.7917 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.2224, allocations: 20 kB / 0.7917 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.2226, allocations: 134.7 kB / 0.7918 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.2229, allocations: 0.6809 MB / 0.7925 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.2229, allocations: 4 kB / 0.7925 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.223, allocations: 7.438 kB / 0.7925 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.223, allocations: 4 kB / 0.7925 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of Templates: time 0.003313/0.2263, allocations: 0.9942 MB / 0.7935 GB, free: 5.059 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) Environment - environmentSimulation: