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.001581/0.001581, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.808/1.808, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.81/1.81, allocations: 251.7 MB / 0.5092 GB, free: 3.164 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.001543/0.001543, allocations: 67.91 kB / 0.6223 GB, free: 1.52 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6415/0.643, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.003152/0.6463, allocations: 1.317 MB / 0.7258 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005292/0.6468, allocations: 199.1 kB / 0.726 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.6469, allocations: 0 / 0.726 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.6469, allocations: 0 / 0.726 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.647, allocations: 3.938 kB / 0.726 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.6472, allocations: 19.92 kB / 0.726 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.6473, allocations: 31.92 kB / 0.7261 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.6475, allocations: 4 kB / 0.7261 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.6476, allocations: 11.94 kB / 0.7261 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.6476, allocations: 19.91 kB / 0.7261 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.6477, allocations: 4 kB / 0.7261 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.6477, allocations: 4 kB / 0.7261 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.6477, allocations: 7.984 kB / 0.7261 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.31e-05/0.6478, allocations: 15.88 kB / 0.7261 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.6479, allocations: 27.89 kB / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6479, allocations: 4 kB / 0.7262 GB, free: 11.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6479, allocations: 4 kB / 0.7262 GB, free: 11.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.6479, allocations: 0 / 0.7262 GB, free: 11.26 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.0006518/0.6486, allocations: 345.3 kB / 0.7265 GB, free: 10.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.6486, allocations: 12.03 kB / 0.7265 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.6487, allocations: 4.938 kB / 0.7265 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.6489, allocations: 168.4 kB / 0.7267 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.6489, allocations: 4.312 kB / 0.7267 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.6489, allocations: 8.375 kB / 0.7267 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.649, allocations: 42.19 kB / 0.7267 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.6491, allocations: 192 / 0.7267 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.6491, allocations: 7.938 kB / 0.7267 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.6491, allocations: 0 / 0.7267 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.937e-05/0.6492, allocations: 15.92 kB / 0.7267 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.6497, allocations: 260.9 kB / 0.727 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.6501, allocations: 82.45 kB / 0.7271 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.6501, allocations: 8.922 kB / 0.7271 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.6501, allocations: 0 / 0.7271 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.6503, allocations: 59.42 kB / 0.7271 GB, free: 10.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 3.406e-06/0.6503, allocations: 4 kB / 0.7271 GB, free: 10.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002191/0.6506, allocations: 57.69 kB / 0.7272 GB, free: 10.03 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.6506, allocations: 59.41 kB / 0.7272 GB, free: 9.961 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.83e-05/0.6507, allocations: 105.8 kB / 0.7273 GB, free: 9.848 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.6507, allocations: 25.7 kB / 0.7274 GB, free: 9.816 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.6508, allocations: 84.14 kB / 0.7274 GB, free: 9.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.6508, allocations: 11.81 kB / 0.7275 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.6509, allocations: 21.7 kB / 0.7275 GB, free: 9.691 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.651, allocations: 314.8 kB / 0.7278 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.6511, allocations: 8 kB / 0.7278 GB, free: 9.367 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/0.6511, allocations: 29.64 kB / 0.7278 GB, free: 9.332 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/0.6511, allocations: 29.89 kB / 0.7278 GB, free: 9.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6512, allocations: 3.938 kB / 0.7278 GB, free: 9.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.832e-05/0.6513, allocations: 57.62 kB / 0.7279 GB, free: 9.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.6513, allocations: 4 kB / 0.7279 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6513, allocations: 4.031 kB / 0.7279 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.6513, allocations: 0 / 0.7279 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.145e-05/0.6513, allocations: 4 kB / 0.7279 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.6514, allocations: 0 / 0.7279 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.581e-05/0.6514, allocations: 15.92 kB / 0.7279 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.6514, allocations: 4 kB / 0.7279 GB, free: 9.199 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: 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 8.353e-05/0.6515, allocations: 109.8 kB / 0.728 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-06/0.6515, allocations: 7.906 kB / 0.728 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.6516, allocations: 7.906 kB / 0.7281 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.6516, allocations: 4.375 kB / 0.7281 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.6516, allocations: 0 / 0.7281 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.6516, allocations: 15.86 kB / 0.7281 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.6518, allocations: 165.5 kB / 0.7282 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6518, allocations: 0 / 0.7282 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.734e-05/0.6518, allocations: 7.984 kB / 0.7282 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.6518, allocations: 0 / 0.7282 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.6518, allocations: 4 kB / 0.7282 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6518, allocations: 0 / 0.7282 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6518, allocations: 0 / 0.7282 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.6519, allocations: 85.06 kB / 0.7283 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.652, allocations: 81.02 kB / 0.7284 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.652, allocations: 0 / 0.7284 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.655e-05/0.652, allocations: 7.984 kB / 0.7284 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.6521, allocations: 4 kB / 0.7284 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.6521, allocations: 0 / 0.7284 GB, free: 8.605 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.991e-05/0.6522, allocations: 91.27 kB / 0.7285 GB, free: 8.516 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6522, allocations: 0 / 0.7285 GB, free: 8.516 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001953/0.6524, allocations: 8 kB / 0.7285 GB, free: 8.508 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: 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 0.0001375/0.6525, allocations: 103.2 kB / 0.7286 GB, free: 8.398 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.6526, allocations: 23.98 kB / 0.7286 GB, free: 8.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6526, allocations: 0 / 0.7286 GB, free: 8.375 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.134e-05/0.6527, allocations: 15.94 kB / 0.7286 GB, free: 8.359 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.6529, allocations: 18.55 kB / 0.7287 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.6532, allocations: 126 kB / 0.7288 GB, free: 8.195 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.6535, allocations: 0.6807 MB / 0.7294 GB, free: 7.488 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.6535, allocations: 4 kB / 0.7295 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.6536, allocations: 7.438 kB / 0.7295 GB, free: 7.477 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.6536, allocations: 0 / 0.7295 GB, free: 7.477 MB / 0.545 GB Notification: Performance of Templates: time 0.002968/0.6565, allocations: 0.5517 MB / 0.73 GB, free: 6.938 MB / 0.545 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)