Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.372/2.372, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002001/0.002001, allocations: 181.3 kB / 325.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.578/2.578, allocations: 205.4 MB / 0.5767 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 86.41 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006444/0.0006447, allocations: 11.84 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2212, allocations: 106.3 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001898/0.2232, allocations: 1.045 MB / 0.9001 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004485/0.2237, allocations: 181.5 kB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.2237, allocations: 4 kB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.2238, allocations: 0 / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.2239, allocations: 3.938 kB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.224, allocations: 11.98 kB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.417e-05/0.2241, allocations: 27.88 kB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.2242, allocations: 11.97 kB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.469e-05/0.2243, allocations: 8 kB / 0.9003 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.2243, allocations: 11.92 kB / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.2243, allocations: 0 / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.2244, allocations: 8 kB / 0.9003 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.2244, allocations: 7.938 kB / 0.9003 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.2244, allocations: 29.64 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.246e-05/0.2245, allocations: 19.95 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2245, allocations: 0 / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2245, allocations: 0 / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2245, allocations: 0 / 0.9004 GB, free: 64.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004692/0.225, allocations: 343.7 kB / 0.9007 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2251, allocations: 12.03 kB / 0.9007 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.2251, allocations: 8.844 kB / 0.9007 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2252, allocations: 164.4 kB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.2253, allocations: 8.375 kB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.2253, allocations: 384 / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.2254, allocations: 54.12 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2254, allocations: 192 / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2254, allocations: 3.938 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2255, allocations: 0 / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.07e-05/0.2255, allocations: 12 kB / 0.901 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.2259, allocations: 261 kB / 0.9012 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.2265, allocations: 98.38 kB / 0.9013 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.2265, allocations: 12.92 kB / 0.9013 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.2265, allocations: 0 / 0.9013 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.2267, allocations: 59.48 kB / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.2267, allocations: 0 / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002037/0.2269, allocations: 65.59 kB / 0.9014 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.227, allocations: 55.34 kB / 0.9015 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.297e-05/0.2271, allocations: 109.8 kB / 0.9016 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.2271, allocations: 25.7 kB / 0.9016 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.2271, allocations: 88.12 kB / 0.9017 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.2271, allocations: 7.906 kB / 0.9017 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.2272, allocations: 0 / 0.9017 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.369e-05/0.2272, allocations: 310.8 kB / 0.902 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.096e-05/0.2273, allocations: 12 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-05/0.2273, allocations: 25.7 kB / 0.902 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.339e-05/0.2274, allocations: 8 kB / 0.902 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2274, allocations: 3.938 kB / 0.9021 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001081/0.2275, allocations: 57.62 kB / 0.9021 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2275, allocations: 8 kB / 0.9021 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.2275, allocations: 0 / 0.9021 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2276, allocations: 240 / 0.9021 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.036e-05/0.2276, allocations: 8.031 kB / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.2276, allocations: 0 / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-05/0.2277, allocations: 15.89 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2277, allocations: 0 / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.009e-05/0.2278, allocations: 129.6 kB / 0.9023 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.2278, allocations: 0 / 0.9023 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.2279, allocations: 7.906 kB / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2279, allocations: 0 / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2279, allocations: 4 kB / 0.9023 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2279, allocations: 3.938 kB / 0.9023 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.228, allocations: 169.6 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2281, allocations: 3.938 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.2281, allocations: 0 / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2281, allocations: 0 / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2281, allocations: 7.984 kB / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2281, allocations: 0 / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2281, allocations: 0 / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.2283, allocations: 84.97 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.2283, allocations: 77.11 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2283, allocations: 4.375 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.2284, allocations: 7.984 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.2285, allocations: 4 kB / 0.9026 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2285, allocations: 4 kB / 0.9026 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.2285, allocations: 87.27 kB / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2286, allocations: 0 / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002326/0.2288, allocations: 12 kB / 0.9027 GB, free: 61.34 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 ($whenCondition1,booPul.y,booPul.pulseStart) * 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.000113/0.2289, allocations: 103.2 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.2291, allocations: 23.98 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2291, allocations: 0 / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.493e-05/0.2291, allocations: 12 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.2294, allocations: 11.92 kB / 0.9029 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.2298, allocations: 138.5 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.2299, allocations: 0.6809 MB / 0.9037 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.23, allocations: 7.891 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.23, allocations: 11.44 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/0.23, allocations: 3.938 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.003012/0.233, allocations: 477.3 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)