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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",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="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 168.9 kB / 316.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008516/0.0008516, allocations: 94.45 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.496e-05/1.499e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2166, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7514/0.9681, allocations: 131.6 MB / 1.014 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.9683, allocations: 74.45 kB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001634/0.97, allocations: 0.6497 MB / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.895e-06/0.97, allocations: 3.984 kB / 1.014 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.97, allocations: 0 / 1.014 GB, free: 5.555 MB / 0.6355 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.0003523/0.9704, allocations: 338.2 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.9704, allocations: 8.031 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.9705, allocations: 14.66 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.9706, allocations: 170.9 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.9706, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.9706, allocations: 3.938 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.779e-05/0.9707, allocations: 11.94 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.587e-05/0.9708, allocations: 37.62 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.9708, allocations: 4 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.9708, allocations: 0 / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.9708, allocations: 4 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.9712, allocations: 233.3 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.9715, allocations: 90.02 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.9716, allocations: 12.92 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.9716, allocations: 0 / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.9717, allocations: 51.44 kB / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.9717, allocations: 4 kB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001455/0.9718, allocations: 52.88 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.9719, allocations: 55.41 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/0.972, allocations: 96.86 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.972, allocations: 29.7 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.9721, allocations: 88.92 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.9721, allocations: 3.938 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.9721, allocations: 0 / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.9722, allocations: 322.7 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.9722, allocations: 8 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.381e-05/0.9723, allocations: 17.28 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.9723, allocations: 11.86 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.9723, allocations: 0 / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.468e-05/0.9724, allocations: 57.47 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.9724, allocations: 4 kB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9724, allocations: 7.938 kB / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.9724, allocations: 0 / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.052e-05/0.9725, allocations: 8.031 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.9725, allocations: 0 / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.9726, allocations: 7.984 kB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.9726, allocations: 4 kB / 1.016 GB, free: 3.691 MB / 0.6355 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,booToInt.y,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.683e-05/0.9726, allocations: 109 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.9727, allocations: 4 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.9727, allocations: 8.219 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.9727, allocations: 0 / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9727, allocations: 4 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.9727, allocations: 0 / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.9728, allocations: 150 kB / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9729, allocations: 0 / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.617e-05/0.9729, allocations: 3.938 kB / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.9729, allocations: 4 kB / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.9729, allocations: 2.125 kB / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9729, allocations: 0 / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9729, allocations: 0 / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.91e-05/0.973, allocations: 76.62 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.9731, allocations: 85.05 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.9731, allocations: 4 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.9731, allocations: 4 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.9732, allocations: 7.922 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.9732, allocations: 4 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.9732, allocations: 83.09 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9732, allocations: 0 / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001795/0.9734, allocations: 8 kB / 1.017 GB, free: 3.078 MB / 0.6355 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 () * 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.0001072/0.9735, allocations: 99.25 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.666e-05/0.9736, allocations: 27.55 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9736, allocations: 0 / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/0.9737, allocations: 8 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.9738, allocations: 7.875 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.974, allocations: 75.67 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.9743, allocations: 0.6846 MB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.9743, allocations: 3.906 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.9744, allocations: 15.38 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of SimCode: time 1.523e-06/0.9744, allocations: 0 / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of Templates: time 0.002099/0.9765, allocations: 460.2 kB / 1.018 GB, free: 1.688 MB / 0.6355 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 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches