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.001269/0.001269, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00126/0.00126, allocations: 198.5 kB / 16.14 MB, free: 6.762 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.656/1.656, allocations: 205.1 MB / 222 MB, free: 4.941 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.688/1.688, allocations: 251.7 MB / 0.5088 GB, free: 3.328 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.001656/0.001656, allocations: 55.92 kB / 0.6216 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7356/0.7372, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002716/0.74, allocations: 1.388 MB / 0.7252 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004009/0.7404, allocations: 184.3 kB / 0.7253 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.7405, allocations: 4 kB / 0.7253 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.897e-05/0.7405, allocations: 3.938 kB / 0.7253 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.7406, allocations: 7.969 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.7407, allocations: 11.94 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.596e-05/0.7408, allocations: 27.92 kB / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.7409, allocations: 4 kB / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.741, allocations: 11.94 kB / 0.7254 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.178e-05/0.741, allocations: 15.92 kB / 0.7254 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.741, allocations: 0 / 0.7254 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.7411, allocations: 0 / 0.7254 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.7411, allocations: 15.97 kB / 0.7254 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.7411, allocations: 11.94 kB / 0.7254 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.979e-05/0.7412, allocations: 23.89 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7412, allocations: 0 / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.22e-07/0.7412, allocations: 0 / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.7412, allocations: 4 kB / 0.7255 GB, free: 11.42 MB / 0.545 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.0005697/0.7418, allocations: 345.3 kB / 0.7258 GB, free: 11.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.7419, allocations: 12.03 kB / 0.7258 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.7419, allocations: 0.9375 kB / 0.7258 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.7421, allocations: 180.2 kB / 0.726 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.7421, allocations: 384 / 0.726 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.7421, allocations: 4.375 kB / 0.726 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.7423, allocations: 42.23 kB / 0.726 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.7423, allocations: 192 / 0.726 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.7423, allocations: 3.938 kB / 0.726 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.7423, allocations: 7.938 kB / 0.726 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.593e-05/0.7424, allocations: 11.98 kB / 0.7261 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.7429, allocations: 260.9 kB / 0.7263 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.7433, allocations: 74.52 kB / 0.7264 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.7433, allocations: 16.8 kB / 0.7264 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.7434, allocations: 96 / 0.7264 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.7436, allocations: 59.39 kB / 0.7265 GB, free: 10.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.7436, allocations: 0 / 0.7265 GB, free: 10.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002466/0.7438, allocations: 61.62 kB / 0.7265 GB, free: 10.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.7439, allocations: 55.41 kB / 0.7266 GB, free: 10.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.744, allocations: 109.8 kB / 0.7267 GB, free: 10 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.744, allocations: 25.7 kB / 0.7267 GB, free: 9.973 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.7441, allocations: 88.05 kB / 0.7268 GB, free: 9.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.7441, allocations: 7.984 kB / 0.7268 GB, free: 9.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.7442, allocations: 25.7 kB / 0.7268 GB, free: 9.844 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.7444, allocations: 310.8 kB / 0.7271 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.7444, allocations: 8 kB / 0.7271 GB, free: 9.523 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.642e-05/0.7445, allocations: 25.7 kB / 0.7271 GB, free: 9.492 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.149e-05/0.7445, allocations: 25.66 kB / 0.7272 GB, free: 9.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.7445, allocations: 3.938 kB / 0.7272 GB, free: 9.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001021/0.7446, allocations: 69.53 kB / 0.7272 GB, free: 9.383 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.7447, allocations: 4 kB / 0.7272 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.7447, allocations: 0 / 0.7272 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.7447, allocations: 0 / 0.7272 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.1e-05/0.7447, allocations: 4 kB / 0.7272 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.7447, allocations: 0 / 0.7272 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.7448, allocations: 7.984 kB / 0.7272 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.7448, allocations: 8.375 kB / 0.7273 GB, free: 9.359 MB / 0.545 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 0.0001244/0.745, allocations: 117.8 kB / 0.7274 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.745, allocations: 4 kB / 0.7274 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.745, allocations: 7.906 kB / 0.7274 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.745, allocations: 240 / 0.7274 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.745, allocations: 4 kB / 0.7274 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.745, allocations: 11.97 kB / 0.7274 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.7452, allocations: 161.5 kB / 0.7275 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.7452, allocations: 0 / 0.7275 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-05/0.7453, allocations: 7.984 kB / 0.7276 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.7453, allocations: 0 / 0.7276 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.7453, allocations: 0 / 0.7276 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.7453, allocations: 11.88 kB / 0.7276 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7453, allocations: 3.938 kB / 0.7276 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.7454, allocations: 85.06 kB / 0.7277 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.7455, allocations: 77.11 kB / 0.7277 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.7455, allocations: 0 / 0.7277 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.7456, allocations: 7.984 kB / 0.7277 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.7456, allocations: 4 kB / 0.7277 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.7456, allocations: 7.984 kB / 0.7277 GB, free: 8.754 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.001e-05/0.7457, allocations: 83.28 kB / 0.7278 GB, free: 8.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7457, allocations: 4 kB / 0.7278 GB, free: 8.668 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001849/0.7459, allocations: 4 kB / 0.7278 GB, free: 8.664 MB / 0.545 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.0001644/0.7461, allocations: 95.25 kB / 0.7279 GB, free: 8.562 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.7462, allocations: 35.92 kB / 0.728 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7462, allocations: 0 / 0.728 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.7463, allocations: 12 kB / 0.728 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.7465, allocations: 19.98 kB / 0.728 GB, free: 8.496 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.7469, allocations: 135.6 kB / 0.7281 GB, free: 8.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.7473, allocations: 0.677 MB / 0.7288 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.356e-05/0.7473, allocations: 4 kB / 0.7288 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.7474, allocations: 15.42 kB / 0.7288 GB, free: 7.617 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.7474, allocations: 4 kB / 0.7288 GB, free: 7.613 MB / 0.545 GB Notification: Performance of Templates: time 0.002709/0.7501, allocations: 491.7 kB / 0.7293 GB, free: 7.145 MB / 0.545 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)