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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.779/1.779, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009374/0.0009374, allocations: 181.2 kB / 487 MB, free: 5.371 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.149/1.149, allocations: 221.3 MB / 0.7819 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009004/0.0009005, allocations: 96.58 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.521e-06/5.531e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1928, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5339/0.7267, allocations: 148.6 MB / 1.35 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001662/0.7269, allocations: 71 kB / 1.35 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.004475/0.7314, allocations: 1.497 MB / 1.352 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.7314, allocations: 0 / 1.352 GB, free: 15.77 MB / 0.8073 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.0002247/0.7317, allocations: 362.5 kB / 1.352 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.7317, allocations: 8.25 kB / 1.352 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.7318, allocations: 12.03 kB / 1.352 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.02e-05/0.7318, allocations: 167.2 kB / 1.352 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.7319, allocations: 0 / 1.352 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.7319, allocations: 10.58 kB / 1.352 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.177e-05/0.7319, allocations: 7.562 kB / 1.352 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.013e-05/0.732, allocations: 34.81 kB / 1.352 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.732, allocations: 0 / 1.352 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.732, allocations: 1.406 kB / 1.352 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.732, allocations: 5.359 kB / 1.352 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.7323, allocations: 281.7 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.971e-05/0.7323, allocations: 25.05 kB / 1.353 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.7324, allocations: 12.3 kB / 1.353 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.7324, allocations: 0.8438 kB / 1.353 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.7324, allocations: 54 kB / 1.353 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.7325, allocations: 4 kB / 1.353 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001221/0.7326, allocations: 59.03 kB / 1.353 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.63e-05/0.7326, allocations: 53.2 kB / 1.353 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.421e-05/0.7327, allocations: 107.4 kB / 1.353 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.7327, allocations: 26.92 kB / 1.353 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.7327, allocations: 86.86 kB / 1.353 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.277e-06/0.7327, allocations: 6.016 kB / 1.353 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.7327, allocations: 2.469 kB / 1.353 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.7328, allocations: 318.3 kB / 1.353 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.7328, allocations: 27.72 kB / 1.353 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.805e-05/0.7329, allocations: 43.36 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.7331, allocations: 38.44 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7331, allocations: 1.375 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002659/0.7333, allocations: 122.5 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.7334, allocations: 4.469 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.7334, allocations: 1.25 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.7334, allocations: 2.688 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.471e-05/0.7334, allocations: 2.5 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.7334, allocations: 1 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.7336, allocations: 44.42 kB / 1.354 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.7336, allocations: 5.484 kB / 1.354 GB, free: 14.11 MB / 0.8073 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 () * 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 4.699e-05/0.7337, allocations: 110.9 kB / 1.354 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.7337, allocations: 9.969 kB / 1.354 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.7337, allocations: 11.12 kB / 1.354 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.7337, allocations: 0 / 1.354 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7338, allocations: 0.875 kB / 1.354 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.7338, allocations: 0 / 1.354 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.762e-05/0.7338, allocations: 139.2 kB / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.7338, allocations: 0 / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-05/0.7338, allocations: 4.234 kB / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.7339, allocations: 0 / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.7339, allocations: 1.188 kB / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7339, allocations: 7.906 kB / 1.354 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7339, allocations: 1.688 kB / 1.354 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.938e-05/0.734, allocations: 80.83 kB / 1.354 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.734, allocations: 78.36 kB / 1.354 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.734, allocations: 2.031 kB / 1.354 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.5e-05/0.734, allocations: 1.125 kB / 1.354 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.734, allocations: 6.203 kB / 1.354 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.734, allocations: 6.781 kB / 1.354 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.142e-05/0.7341, allocations: 88.52 kB / 1.354 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001913/0.7343, allocations: 31.53 kB / 1.354 GB, free: 13.56 MB / 0.8073 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 () * 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.000101/0.7344, allocations: 112.3 kB / 1.354 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.7345, allocations: 79.09 kB / 1.354 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.7345, allocations: 0 / 1.354 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.7346, allocations: 17.66 kB / 1.354 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.7347, allocations: 9.016 kB / 1.354 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001522/0.7349, allocations: 66.58 kB / 1.355 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.731e-05/0.735, allocations: 0.6927 MB / 1.355 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/0.735, allocations: 0 / 1.355 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of Templates: time 0.002763/0.7378, allocations: 0.9447 MB / 1.356 GB, free: 12.58 MB / 0.8073 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