Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 175.3 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 94.56 kB / 0.9346 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004055, allocations: 10.38 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2943, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.19/0.4844, allocations: 149.4 MB / 1.369 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.4847, allocations: 71.94 kB / 1.369 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005331/0.49, allocations: 1.818 MB / 1.371 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4901, allocations: 3.938 kB / 1.371 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.4901, allocations: 0 / 1.371 GB, free: 10.87 MB / 0.8698 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.0003942/0.4905, allocations: 373.6 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4905, allocations: 8.031 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.4906, allocations: 4 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.4907, allocations: 174.9 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.4907, allocations: 4 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.4908, allocations: 4 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.4909, allocations: 37.69 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.4909, allocations: 0 / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.4909, allocations: 0 / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4909, allocations: 0 / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.491, allocations: 16 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.4914, allocations: 300.7 kB / 1.371 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.104e-05/0.4915, allocations: 22.58 kB / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.4915, allocations: 0 / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.4917, allocations: 63.45 kB / 1.372 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4917, allocations: 0 / 1.372 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002014/0.4919, allocations: 77.61 kB / 1.372 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.4919, allocations: 55.39 kB / 1.372 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.492, allocations: 108.8 kB / 1.372 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.4921, allocations: 29.69 kB / 1.372 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.4921, allocations: 88.14 kB / 1.372 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.4921, allocations: 7.906 kB / 1.372 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/0.4922, allocations: 0 / 1.372 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4923, allocations: 322.8 kB / 1.372 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.4924, allocations: 27.98 kB / 1.372 GB, free: 8.969 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.4925, allocations: 54.55 kB / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.866e-05/0.4925, allocations: 61.62 kB / 1.372 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4926, allocations: 0 / 1.372 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002814/0.4928, allocations: 143.3 kB / 1.372 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.4929, allocations: 41.77 kB / 1.373 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4929, allocations: 0 / 1.373 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4929, allocations: 4.062 kB / 1.373 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.607e-05/0.493, allocations: 4 kB / 1.373 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.493, allocations: 0 / 1.373 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.4932, allocations: 39.91 kB / 1.373 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.4932, allocations: 15.94 kB / 1.373 GB, free: 8.578 MB / 0.8698 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 9.984e-05/0.4933, allocations: 113.8 kB / 1.373 GB, free: 8.457 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.4933, allocations: 7.906 kB / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.4934, allocations: 3.906 kB / 1.373 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4934, allocations: 240 / 1.373 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4934, allocations: 0 / 1.373 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4934, allocations: 7.984 kB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.4935, allocations: 165.6 kB / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4935, allocations: 0 / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.4936, allocations: 11.94 kB / 1.373 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4936, allocations: 0 / 1.373 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4936, allocations: 3.984 kB / 1.373 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4936, allocations: 0 / 1.373 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4936, allocations: 0 / 1.373 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.4937, allocations: 89.02 kB / 1.373 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.4938, allocations: 81.02 kB / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.4938, allocations: 4 kB / 1.373 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.576e-05/0.4938, allocations: 7.984 kB / 1.373 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.4939, allocations: 4 kB / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.4939, allocations: 0 / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.4939, allocations: 83.28 kB / 1.373 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4939, allocations: 7.938 kB / 1.373 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002064/0.4941, allocations: 19.98 kB / 1.373 GB, free: 7.875 MB / 0.8698 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.0001641/0.4943, allocations: 111 kB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.4945, allocations: 127.4 kB / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4945, allocations: 0 / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.107e-05/0.4946, allocations: 15.98 kB / 1.373 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.4947, allocations: 15.89 kB / 1.373 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.495, allocations: 130.6 kB / 1.374 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.4953, allocations: 0.6889 MB / 1.374 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.212e-05/0.4953, allocations: 4.25 kB / 1.374 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.4953, allocations: 7.438 kB / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.4953, allocations: 4 kB / 1.374 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of Templates: time 0.003035/0.4984, allocations: 0.9806 MB / 1.375 GB, free: 5.738 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches