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.BooleanToInteger.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.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008587/0.008587, allocations: 102.5 kB / 15.73 MB, free: 5.961 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.001214/0.001214, allocations: 190 kB / 16.67 MB, free: 5.883 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.669/1.669, allocations: 205.1 MB / 222.6 MB, free: 4.375 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.79/1.79, 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.001452/0.001451, allocations: 72.42 kB / 0.7258 GB, free: 9.078 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2584, allocations: 104.7 MB / 0.828 GB, free: 276 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002694/0.2611, allocations: 1.311 MB / 0.8293 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004693/0.2616, allocations: 200.6 kB / 0.8295 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.2617, allocations: 8 kB / 0.8295 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.2617, allocations: 0 / 0.8295 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.917e-05/0.2618, allocations: 7.938 kB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.262, allocations: 15.92 kB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.335e-05/0.2621, allocations: 27.92 kB / 0.8296 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2622, allocations: 8 kB / 0.8296 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.403e-05/0.2623, allocations: 11.94 kB / 0.8296 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.848e-05/0.2623, allocations: 15.86 kB / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.2624, allocations: 0 / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.2624, allocations: 8 kB / 0.8296 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.2624, allocations: 7.984 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.2625, allocations: 15.92 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.463e-05/0.2626, allocations: 27.84 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.2626, allocations: 3.984 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2626, allocations: 0 / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.2626, allocations: 0 / 0.8296 GB, free: 14.59 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.0005504/0.2632, allocations: 350 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2632, allocations: 8.031 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.2633, allocations: 8.938 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.2634, allocations: 168.3 kB / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.2634, allocations: 384 / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.2634, allocations: 384 / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.2636, allocations: 42.25 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2636, allocations: 192 / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2636, allocations: 7.875 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.2636, allocations: 0 / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.507e-05/0.2637, allocations: 15.98 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.2641, allocations: 264.8 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.2644, allocations: 74.45 kB / 0.8305 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.2645, allocations: 12.92 kB / 0.8306 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.2645, allocations: 7.938 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.2646, allocations: 63.47 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2646, allocations: 0 / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.000185/0.2648, allocations: 61.62 kB / 0.8307 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.2649, allocations: 51.41 kB / 0.8307 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.265, allocations: 105.8 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.265, allocations: 33.64 kB / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.2651, allocations: 88.12 kB / 0.8309 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.2651, allocations: 7.906 kB / 0.831 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.2651, allocations: 21.7 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2653, allocations: 318.8 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.2653, allocations: 4 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.115e-05/0.2653, allocations: 21.7 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.607e-05/0.2654, allocations: 29.72 kB / 0.8313 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.2654, allocations: 3.938 kB / 0.8313 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.967e-05/0.2655, allocations: 65.91 kB / 0.8314 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2655, allocations: 8 kB / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2655, allocations: 0 / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2655, allocations: 0 / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.225e-05/0.2656, allocations: 8 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2656, allocations: 0 / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.2656, allocations: 7.984 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.2656, allocations: 0 / 0.8314 GB, free: 12.54 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: 5 ($whenCondition1,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,booToInt.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 8.468e-05/0.2657, allocations: 125.8 kB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.2658, allocations: 4 kB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.2658, allocations: 3.906 kB / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2658, allocations: 0 / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2658, allocations: 0 / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2658, allocations: 3.984 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.266, allocations: 169.5 kB / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.266, allocations: 0 / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.596e-05/0.266, allocations: 4 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.266, allocations: 3.984 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.266, allocations: 3.938 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.266, allocations: 4 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.266, allocations: 0 / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.2662, allocations: 81.06 kB / 0.8318 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.2662, allocations: 77.11 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.2662, allocations: 0 / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.486e-05/0.2663, allocations: 11.92 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.2663, allocations: 8 kB / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.2663, allocations: 4 kB / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.2664, allocations: 87.2 kB / 0.832 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2664, allocations: 0 / 0.832 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001802/0.2666, allocations: 12 kB / 0.832 GB, free: 11.84 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: 4 ($whenCondition1,booToInt.y,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 0.0001232/0.2667, allocations: 99.47 kB / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.2668, allocations: 27.97 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2668, allocations: 0 / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.2669, allocations: 15.94 kB / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.2671, allocations: 19.98 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.2674, allocations: 126 kB / 0.8323 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.2677, allocations: 0.6844 MB / 0.8329 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.175e-05/0.2677, allocations: 0 / 0.8329 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.2678, allocations: 11.44 kB / 0.833 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.2678, allocations: 0 / 0.833 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.002935/0.2707, allocations: 0.5567 MB / 0.8335 GB, free: 10.26 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)