Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") [: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.755/1.755, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009827/0.0009825, allocations: 181.2 kB / 487 MB, free: 5.336 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.127/1.127, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.0008401/0.00084, allocations: 102 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.242e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1853, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5081/0.6935, allocations: 148.6 MB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.6937, allocations: 69.64 kB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01061/0.7043, allocations: 3.765 MB / 1.354 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.7043, allocations: 0.8438 kB / 1.354 GB, free: 15.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003023/0.7046, allocations: 451.2 kB / 1.355 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.7047, allocations: 9.031 kB / 1.355 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.7047, allocations: 18.02 kB / 1.355 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.082e-05/0.7048, allocations: 179.5 kB / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.7048, allocations: 6.125 kB / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.7049, allocations: 13.19 kB / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.527e-05/0.705, allocations: 17.31 kB / 1.355 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.665e-05/0.705, allocations: 51.94 kB / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.7051, allocations: 0 / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.7051, allocations: 1.547 kB / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.7051, allocations: 4.875 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.7056, allocations: 392.7 kB / 1.355 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.482e-05/0.7056, allocations: 35.27 kB / 1.355 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.7057, allocations: 15.77 kB / 1.355 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.7057, allocations: 0 / 1.355 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.353e-05/0.7058, allocations: 82.2 kB / 1.355 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.7058, allocations: 0.75 kB / 1.355 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001903/0.706, allocations: 95 kB / 1.355 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.706, allocations: 57.97 kB / 1.355 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.896e-05/0.7061, allocations: 127.4 kB / 1.356 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.7061, allocations: 35.73 kB / 1.356 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.7061, allocations: 92.41 kB / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.7062, allocations: 16.56 kB / 1.356 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.7062, allocations: 8.719 kB / 1.356 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.096e-05/0.7062, allocations: 320.4 kB / 1.356 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.7064, allocations: 76.61 kB / 1.356 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.7066, allocations: 126.9 kB / 1.356 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.707, allocations: 109.2 kB / 1.356 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.707, allocations: 0.6562 kB / 1.356 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006689/0.7077, allocations: 278.7 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.7077, allocations: 8.25 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.7077, allocations: 1.875 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.7077, allocations: 2.531 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.769e-05/0.7077, allocations: 5.016 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.7078, allocations: 2.156 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.7082, allocations: 120.9 kB / 1.357 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.7083, allocations: 19.09 kB / 1.357 GB, free: 13.9 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 6.964e-05/0.7083, allocations: 118.5 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.7084, allocations: 11.16 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.7084, allocations: 11.7 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.7084, allocations: 1.672 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7084, allocations: 0.9688 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7084, allocations: 1.125 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.724e-05/0.7085, allocations: 166 kB / 1.357 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7085, allocations: 1.562 kB / 1.357 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/0.7085, allocations: 6.516 kB / 1.357 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.7085, allocations: 3.938 kB / 1.357 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.7086, allocations: 7 kB / 1.357 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.7086, allocations: 9.531 kB / 1.357 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7086, allocations: 0 / 1.357 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001199/0.7087, allocations: 107.9 kB / 1.357 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.7087, allocations: 85.08 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.7087, allocations: 4.969 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.544e-05/0.7088, allocations: 2.578 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.7088, allocations: 19.23 kB / 1.357 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.7088, allocations: 4.703 kB / 1.357 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.029e-05/0.7089, allocations: 98.7 kB / 1.357 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002436/0.7091, allocations: 46.25 kB / 1.357 GB, free: 13.34 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001158/0.7092, allocations: 109.1 kB / 1.358 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003021/0.7095, allocations: 228.4 kB / 1.358 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7095, allocations: 0 / 1.358 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.149e-05/0.7096, allocations: 38.77 kB / 1.358 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.7098, allocations: 23.59 kB / 1.358 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.71, allocations: 117.9 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.7103, allocations: 0.7132 MB / 1.359 GB, free: 28.36 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.7103, allocations: 0.875 kB / 1.359 GB, free: 28.36 MB / 0.823 GB Notification: Performance of Templates: time 0.004486/0.7148, allocations: 2.219 MB / 1.361 GB, free: 28.19 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches