Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [: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.766/1.766, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.0009376/0.0009376, allocations: 188.2 kB / 487 MB, free: 5.406 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.123/1.123, allocations: 221.3 MB / 0.7819 GB, free: 1.441 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.0008358/0.0008358, allocations: 103 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.883e-06/6.903e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1863, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4954/0.6817, allocations: 148.6 MB / 1.35 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001618/0.6819, allocations: 73.84 kB / 1.35 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.00757/0.6895, allocations: 2.618 MB / 1.353 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.6895, allocations: 1.156 kB / 1.353 GB, free: 15.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000255/0.6898, allocations: 408.6 kB / 1.353 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.6898, allocations: 12.81 kB / 1.353 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.6899, allocations: 9.016 kB / 1.353 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.907e-05/0.69, allocations: 170.1 kB / 1.353 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.69, allocations: 2.328 kB / 1.353 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.69, allocations: 8.25 kB / 1.354 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.927e-05/0.6901, allocations: 15.31 kB / 1.354 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.622e-05/0.6902, allocations: 45.89 kB / 1.354 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.6902, allocations: 0.6875 kB / 1.354 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.6902, allocations: 4.688 kB / 1.354 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.6902, allocations: 1.062 kB / 1.354 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.6906, allocations: 333.3 kB / 1.354 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.606e-05/0.6907, allocations: 27.52 kB / 1.354 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.469e-05/0.6907, allocations: 14.95 kB / 1.354 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.6907, allocations: 0.6562 kB / 1.354 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.859e-05/0.6908, allocations: 74.23 kB / 1.354 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.6908, allocations: 0 / 1.354 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001612/0.691, allocations: 79 kB / 1.354 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.691, allocations: 53.8 kB / 1.354 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.559e-05/0.6911, allocations: 109.8 kB / 1.354 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.6911, allocations: 29.27 kB / 1.354 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.6911, allocations: 93.86 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.6912, allocations: 7.469 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.6912, allocations: 3.125 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.302e-05/0.6912, allocations: 326.9 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.6913, allocations: 49.81 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.6915, allocations: 88.03 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.6918, allocations: 72.61 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6918, allocations: 1.547 kB / 1.355 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004833/0.6923, allocations: 197.7 kB / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.6923, allocations: 7.562 kB / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.6923, allocations: 3 kB / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.6923, allocations: 5.891 kB / 1.355 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.567e-05/0.6923, allocations: 3.109 kB / 1.355 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.6924, allocations: 1.781 kB / 1.355 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.6927, allocations: 81.94 kB / 1.355 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.6927, allocations: 12.12 kB / 1.355 GB, free: 14.02 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 5.489e-05/0.6928, allocations: 110.9 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.6928, allocations: 3.547 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.6928, allocations: 17.72 kB / 1.355 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.6929, allocations: 5.719 kB / 1.355 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6929, allocations: 9.375 kB / 1.355 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6929, allocations: 5.469 kB / 1.355 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.108e-05/0.6929, allocations: 150.9 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.693, allocations: 1.125 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.185e-06/0.693, allocations: 1.641 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.693, allocations: 0.7969 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.693, allocations: 2.469 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.693, allocations: 4.688 kB / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.693, allocations: 0 / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.436e-05/0.6931, allocations: 100.3 kB / 1.356 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.6931, allocations: 79.56 kB / 1.356 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.6931, allocations: 1.641 kB / 1.356 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.6932, allocations: 5.328 kB / 1.356 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.6932, allocations: 8.906 kB / 1.356 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.6932, allocations: 3.312 kB / 1.356 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.44e-05/0.6932, allocations: 91.23 kB / 1.356 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002186/0.6935, allocations: 31.36 kB / 1.356 GB, free: 13.47 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001315/0.6936, allocations: 111.4 kB / 1.356 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.6938, allocations: 160.8 kB / 1.356 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6939, allocations: 0 / 1.356 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.6939, allocations: 23.34 kB / 1.356 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.6941, allocations: 11.17 kB / 1.356 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001938/0.6943, allocations: 95.34 kB / 1.356 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.6945, allocations: 0.703 MB / 1.357 GB, free: 28.52 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.6945, allocations: 0 / 1.357 GB, free: 28.52 MB / 0.823 GB Notification: Performance of Templates: time 0.003418/0.6979, allocations: 1.573 MB / 1.358 GB, free: 28.39 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches