Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_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_maint.7.0.x_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.006664/0.006664, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001295/0.001295, allocations: 191 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.719/1.719, allocations: 251.7 MB / 0.5094 GB, free: 3.051 MB / 414.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.001456/0.001456, allocations: 67.91 kB / 0.7258 GB, free: 9.062 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2583, allocations: 104.7 MB / 0.828 GB, free: 260 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002379/0.2607, allocations: 1.324 MB / 0.8293 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004466/0.2612, allocations: 188.7 kB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.2613, allocations: 0 / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.2613, allocations: 0 / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.788e-05/0.2614, allocations: 7.922 kB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.2615, allocations: 15.92 kB / 0.8295 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.2616, allocations: 31.92 kB / 0.8296 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2618, allocations: 11.97 kB / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/0.2618, allocations: 15.94 kB / 0.8296 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.2619, allocations: 19.86 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.2619, allocations: 4 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.2619, allocations: 0 / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.262, allocations: 8 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.262, allocations: 11.94 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.963e-05/0.2621, allocations: 31.81 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2621, allocations: 0 / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2621, allocations: 0 / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2621, allocations: 0 / 0.8296 GB, free: 14.57 MB / 0.6544 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.0005551/0.2627, allocations: 347.4 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2627, allocations: 12.03 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.2628, allocations: 0.9375 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2629, allocations: 176.3 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.263, allocations: 4.312 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.263, allocations: 4.375 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.2631, allocations: 38.25 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2631, allocations: 192 / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2631, allocations: 7.875 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2631, allocations: 8 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.2e-05/0.2632, allocations: 8 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.2636, allocations: 260.9 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.264, allocations: 70.52 kB / 0.8305 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.264, allocations: 20.86 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.2641, allocations: 3.938 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.2642, allocations: 55.48 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.2642, allocations: 0 / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001994/0.2644, allocations: 57.69 kB / 0.8307 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.2645, allocations: 51.41 kB / 0.8307 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.57e-05/0.2646, allocations: 113.8 kB / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.2646, allocations: 37.58 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.2646, allocations: 84.14 kB / 0.8309 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.2647, allocations: 11.81 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.2647, allocations: 17.72 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2648, allocations: 314.8 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.2648, allocations: 8 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/0.2649, allocations: 25.97 kB / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.775e-05/0.2649, allocations: 29.7 kB / 0.8313 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2649, allocations: 3.938 kB / 0.8313 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.424e-05/0.265, allocations: 57.81 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.265, allocations: 8 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2651, allocations: 0 / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2651, allocations: 4.031 kB / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.911e-05/0.2651, allocations: 4 kB / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2651, allocations: 0 / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.2652, allocations: 12.02 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.2652, allocations: 4 kB / 0.8314 GB, free: 12.51 MB / 0.6544 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.pulseStart,$PRE.booPul.pulseStart,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): 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 9.375e-05/0.2653, allocations: 117.7 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.2653, allocations: 7.906 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.2653, allocations: 7.906 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2653, allocations: 3.938 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2654, allocations: 0 / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2654, allocations: 0 / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.2655, allocations: 169.6 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2655, allocations: 0 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.602e-05/0.2655, allocations: 8 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2655, allocations: 0 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2656, allocations: 0 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2656, allocations: 0 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2656, allocations: 0 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.2657, allocations: 85.05 kB / 0.8318 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.2657, allocations: 81.11 kB / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.2658, allocations: 0 / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.765e-05/0.2658, allocations: 15.92 kB / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.2659, allocations: 4 kB / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.2659, allocations: 0 / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.2659, allocations: 91.39 kB / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2659, allocations: 0 / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001864/0.2661, allocations: 19.78 kB / 0.832 GB, free: 11.81 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.936e-05/0.2662, allocations: 98.48 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.2663, allocations: 31.98 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2664, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.2664, allocations: 15.94 kB / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.2666, allocations: 14.58 kB / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.2669, allocations: 130 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.2672, allocations: 0.6844 MB / 0.833 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.2672, allocations: 0 / 0.833 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.2673, allocations: 15.5 kB / 0.833 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.2673, allocations: 0 / 0.833 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.002929/0.2702, allocations: 0.5425 MB / 0.8335 GB, free: 10.23 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)