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.582/1.582, allocations: 249.3 MB / 261.8 MB, free: 5.953 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.0009807/0.0009808, allocations: 180.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0007718/0.0007719, allocations: 86.48 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.5e-05/3.502e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2098, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7468/0.9566, allocations: 131.4 MB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.9569, allocations: 75.75 kB / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001562/0.9585, allocations: 0.6556 MB / 1.021 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9585, allocations: 4 kB / 1.021 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.9585, allocations: 4 kB / 1.021 GB, free: 2.684 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.0003668/0.9589, allocations: 333.9 kB / 1.021 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.9589, allocations: 8.031 kB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.959, allocations: 2.734 kB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.9591, allocations: 170.9 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.9592, allocations: 0 / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.9592, allocations: 11.94 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/0.9593, allocations: 33.69 kB / 1.021 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.9593, allocations: 4 kB / 1.021 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.9593, allocations: 3.812 kB / 1.021 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.9593, allocations: 0 / 1.021 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.437e-05/0.9594, allocations: 15.62 kB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.9597, allocations: 254.7 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.9601, allocations: 88.58 kB / 1.022 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.9601, allocations: 20.72 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.9601, allocations: 0 / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.9603, allocations: 64.05 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.9603, allocations: 0 / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000143/0.9604, allocations: 44.95 kB / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.9605, allocations: 58.77 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.9606, allocations: 96 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.9606, allocations: 25.7 kB / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.9607, allocations: 95.48 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.9607, allocations: 3.938 kB / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.9607, allocations: 3.375 kB / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.9608, allocations: 318.8 kB / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.9609, allocations: 10.69 kB / 1.022 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.209e-05/0.9609, allocations: 30.91 kB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.274e-05/0.9609, allocations: 4 kB / 1.022 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9609, allocations: 4 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.188e-05/0.961, allocations: 60.53 kB / 1.023 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.961, allocations: 4 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.9611, allocations: 0 / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.9611, allocations: 4 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.187e-05/0.9611, allocations: 7.922 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.9611, allocations: 4 kB / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.9612, allocations: 4 kB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.9612, allocations: 4.031 kB / 1.023 GB, free: 0.7812 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 8.357e-05/0.9613, allocations: 115.4 kB / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.9613, allocations: 0 / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.9613, allocations: 12.02 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.9614, allocations: 0 / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.9614, allocations: 0 / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.9614, allocations: 0 / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.9615, allocations: 175.3 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9615, allocations: 0 / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/0.9615, allocations: 2.938 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.9616, allocations: 8 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.9616, allocations: 0 / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9616, allocations: 0 / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9616, allocations: 0 / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.9617, allocations: 84.7 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.9617, allocations: 77.11 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.9618, allocations: 0 / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.213e-05/0.9618, allocations: 11.98 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.9619, allocations: 11.92 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.9619, allocations: 144 / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.625e-05/0.9619, allocations: 86.78 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9619, allocations: 0 / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000174/0.9621, allocations: 7.375 kB / 1.023 GB, free: 136 kB / 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.0001273/0.9622, allocations: 104.2 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.9624, allocations: 31.09 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9624, allocations: 4.062 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.385e-05/0.9624, allocations: 8 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.9626, allocations: 15.77 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/0.9628, allocations: 72.86 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.9631, allocations: 0.6848 MB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.9631, allocations: 3.906 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.9632, allocations: 14.56 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/0.9632, allocations: 4 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of Templates: time 0.002464/0.9656, allocations: 487.1 kB / 1.024 GB, free: 14.7 MB / 0.6511 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