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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.308/1.308, allocations: 249.4 MB / 256.7 MB, free: 15.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001117, allocations: 181.4 kB / 316 MB, free: 7.234 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.719/1.719, allocations: 205.1 MB / 0.5667 GB, free: 23.66 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.0009058/0.0009058, allocations: 83.39 kB / 0.671 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.444e-06, allocations: 0 / 0.7807 GB, free: 476 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5864/0.5865, allocations: 106.3 MB / 0.8846 GB, free: 76.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.7559, allocations: 130.6 MB / 1.012 GB, free: 9.492 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.7562, allocations: 67.95 kB / 1.012 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.001591/0.7578, allocations: 361.8 kB / 1.013 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.7578, allocations: 0 / 1.013 GB, free: 9.074 MB / 0.6667 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.000373/0.7582, allocations: 338.3 kB / 1.013 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.7582, allocations: 8.031 kB / 1.013 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.7583, allocations: 8 kB / 1.013 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.7584, allocations: 171 kB / 1.013 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.7585, allocations: 3.984 kB / 1.013 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.7585, allocations: 0 / 1.013 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.287e-05/0.7586, allocations: 12 kB / 1.013 GB, free: 8.461 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.034e-05/0.7586, allocations: 33.64 kB / 1.013 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.7586, allocations: 3.984 kB / 1.013 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.7587, allocations: 4 kB / 1.013 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.7587, allocations: 7.906 kB / 1.013 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.759, allocations: 229.5 kB / 1.013 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.7592, allocations: 34.56 kB / 1.013 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.7592, allocations: 12.92 kB / 1.013 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.7592, allocations: 0 / 1.013 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.055e-05/0.7593, allocations: 59.34 kB / 1.013 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.7593, allocations: 4 kB / 1.013 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4): time 0.0001438/0.7595, allocations: 41.7 kB / 1.013 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.7595, allocations: 51.41 kB / 1.014 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.747e-05/0.7596, allocations: 101 kB / 1.014 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.7596, allocations: 25.7 kB / 1.014 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.7597, allocations: 80.14 kB / 1.014 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.7597, allocations: 11.91 kB / 1.014 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.7597, allocations: 0 / 1.014 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.7598, allocations: 322.7 kB / 1.014 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.7599, allocations: 12 kB / 1.014 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.7599, allocations: 21.72 kB / 1.014 GB, free: 7.309 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.118e-05/0.7599, allocations: 7.938 kB / 1.014 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7599, allocations: 0 / 1.014 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.263e-05/0.76, allocations: 49.78 kB / 1.014 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.7601, allocations: 4 kB / 1.014 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.7601, allocations: 0 / 1.014 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.7601, allocations: 11.92 kB / 1.014 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.108e-05/0.7601, allocations: 4 kB / 1.014 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.7601, allocations: 0 / 1.014 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.377e-05/0.7602, allocations: 11.98 kB / 1.014 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.7602, allocations: 7.938 kB / 1.014 GB, free: 7.207 MB / 0.6667 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.167e-05/0.7603, allocations: 111 kB / 1.014 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.7603, allocations: 3.906 kB / 1.014 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.7604, allocations: 8 kB / 1.014 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.7604, allocations: 4 kB / 1.014 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.7604, allocations: 0 / 1.014 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.7604, allocations: 0 / 1.014 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.7605, allocations: 138.2 kB / 1.014 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7605, allocations: 0 / 1.014 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.7605, allocations: 7.906 kB / 1.014 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.7605, allocations: 0 / 1.014 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.7606, allocations: 0 / 1.014 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.7606, allocations: 0 / 1.014 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7606, allocations: 3.984 kB / 1.014 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.456e-05/0.7607, allocations: 81.03 kB / 1.015 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.7607, allocations: 81.05 kB / 1.015 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.7607, allocations: 4.375 kB / 1.015 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.7608, allocations: 4 kB / 1.015 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.7609, allocations: 15.89 kB / 1.015 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.7609, allocations: 0 / 1.015 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.019e-05/0.7609, allocations: 87.28 kB / 1.015 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0001818/0.7611, allocations: 7.938 kB / 1.015 GB, free: 6.578 MB / 0.6667 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.0001403/0.7613, allocations: 106 kB / 1.015 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 9.348e-05/0.7614, allocations: 20 kB / 1.015 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.7614, allocations: 4 kB / 1.015 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.648e-05/0.7614, allocations: 15.94 kB / 1.015 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.7616, allocations: 12.05 kB / 1.015 GB, free: 6.418 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.7619, allocations: 67.77 kB / 1.015 GB, free: 6.328 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.7622, allocations: 0.6915 MB / 1.016 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of SimCode: time 2.7e-07/0.7622, allocations: 0 / 1.016 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of Templates: time 0.002433/0.7647, allocations: 0.522 MB / 1.016 GB, free: 5.102 MB / 0.6667 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