Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.073/5.073, allocations: 0.5623 GB / 0.5769 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003421/0.003421, allocations: 362.6 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.313/4.313, allocations: 410.7 MB / 1.112 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001769/0.001769, allocations: 178.8 kB / 1.225 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000525/0.0005253, allocations: 16 kB / 1.348 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.595/0.5955, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0006557/0.5962, allocations: 348.1 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.5975, allocations: 1.071 MB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.5975, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.5976, allocations: 5 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.5976, allocations: 4 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.5981, allocations: 106.2 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.404e-05/0.5982, allocations: 71.83 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.305e-05/0.5983, allocations: 7.984 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.744e-05/0.5983, allocations: 23.97 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.5984, allocations: 27.91 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.5984, allocations: 4.781 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.158e-05/0.5985, allocations: 15.98 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.5985, allocations: 4.688 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.5986, allocations: 37.7 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.5987, allocations: 56.44 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.492e-06/0.5987, allocations: 6.156 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.902e-06/0.5987, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.547e-06/0.5988, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 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.0003286/0.5991, allocations: 371 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.5991, allocations: 11.62 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.5992, allocations: 4.562 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.506e-05/0.5993, allocations: 167.2 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.5993, allocations: 4 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.5994, allocations: 7.984 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.569e-05/0.5995, allocations: 45.62 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.5995, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.5995, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-06/0.5995, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.509e-05/0.5996, allocations: 10.16 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.5999, allocations: 301.8 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.399e-05/0.6, allocations: 27.64 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.6001, allocations: 10.08 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.905e-06/0.6001, allocations: 3.938 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.6002, allocations: 61.33 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.356e-06/0.6003, allocations: 0 / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0002128/0.6005, allocations: 69.67 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.6005, allocations: 55.97 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.34e-05/0.6006, allocations: 114.5 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.6006, allocations: 29.7 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.6007, allocations: 88.55 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.6007, allocations: 9.984 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.6007, allocations: 8 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.844e-05/0.6008, allocations: 310.8 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.71e-05/0.6009, allocations: 35.97 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.601, allocations: 47.5 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.968e-05/0.6011, allocations: 63.38 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6011, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003069/0.6014, allocations: 148 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.6015, allocations: 33.7 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.6015, allocations: 2.75 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.6015, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.358e-05/0.6016, allocations: 3.984 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.139e-06/0.6016, allocations: 3.938 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.6019, allocations: 44.97 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.6019, allocations: 15.89 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booToInt.y,$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 7.64e-05/0.602, allocations: 115 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.602, allocations: 7.906 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.6021, allocations: 10.44 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-06/0.6021, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.275e-06/0.6021, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.6021, allocations: 4.875 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.651e-05/0.6022, allocations: 161.6 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-06/0.6022, allocations: 0.625 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.6023, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.02e-06/0.6023, allocations: 1.188 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-06/0.6023, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.282e-06/0.6023, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.99e-06/0.6023, allocations: 4.719 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.6024, allocations: 95.25 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.6025, allocations: 81.02 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.6025, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/0.6025, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.6026, allocations: 6.047 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.989e-06/0.6026, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.6026, allocations: 97.3 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-06/0.6027, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002827/0.603, allocations: 16 kB / 1.465 GB, free: 279.6 MB / 0.8542 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,$whenCondition2,booToInt.y,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.0001226/0.6031, allocations: 107.9 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.6033, allocations: 128.1 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.914e-06/0.6034, allocations: 0.5312 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.6034, allocations: 12.62 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.6037, allocations: 13.19 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.604, allocations: 136.9 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.6041, allocations: 0.6809 MB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.6042, allocations: 4.25 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.6042, allocations: 11.44 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.472e-06/0.6042, allocations: 1.812 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.004838/0.609, allocations: 0.989 MB / 1.467 GB, free: 277.6 MB / 0.8542 GB