Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") [: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.768/1.768, 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.0009717/0.0009716, allocations: 180.3 kB / 487 MB, free: 5.398 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.153/1.153, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0008224/0.0008223, allocations: 95.67 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.264e-06/7.274e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1825, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.491/0.6736, allocations: 148.6 MB / 1.35 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.6738, allocations: 70.88 kB / 1.35 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01084/0.6846, allocations: 3.761 MB / 1.354 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6847, allocations: 4.594 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.0003091/0.685, allocations: 452.6 kB / 1.355 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.685, allocations: 13.38 kB / 1.355 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.6851, allocations: 14.67 kB / 1.355 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.716e-05/0.6852, allocations: 176.6 kB / 1.355 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.6852, allocations: 1 kB / 1.355 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.6852, allocations: 14.42 kB / 1.355 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.75e-05/0.6853, allocations: 17.06 kB / 1.355 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.228e-05/0.6854, allocations: 52.39 kB / 1.355 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.6854, allocations: 0 / 1.355 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.6854, allocations: 5.781 kB / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6854, allocations: 1.094 kB / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.6859, allocations: 405.7 kB / 1.355 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.454e-05/0.686, allocations: 27.28 kB / 1.355 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.686, allocations: 17.09 kB / 1.355 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.686, allocations: 0.9688 kB / 1.355 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.255e-05/0.6861, allocations: 82.81 kB / 1.355 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.6861, allocations: 0.8125 kB / 1.355 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.000197/0.6863, allocations: 94.5 kB / 1.355 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.716e-05/0.6863, allocations: 54.66 kB / 1.355 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/0.6864, allocations: 126 kB / 1.356 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.6864, allocations: 31.05 kB / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.6865, allocations: 96.31 kB / 1.356 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.6865, allocations: 20.14 kB / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.6865, allocations: 8.594 kB / 1.356 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.643e-05/0.6866, allocations: 327.8 kB / 1.356 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.6867, allocations: 71.61 kB / 1.356 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.6869, allocations: 127.7 kB / 1.356 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.6873, allocations: 105.1 kB / 1.356 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6873, allocations: 0.7812 kB / 1.356 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006801/0.688, allocations: 281.4 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.688, allocations: 8.906 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6881, allocations: 3.156 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.6881, allocations: 2.344 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.864e-05/0.6881, allocations: 3.5 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6881, allocations: 7.891 kB / 1.357 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.6886, allocations: 115.1 kB / 1.357 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.6886, allocations: 16 kB / 1.357 GB, free: 13.91 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,and1.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 7.036e-05/0.6887, allocations: 125.2 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.6887, allocations: 7.484 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.6888, allocations: 11.11 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.6888, allocations: 2.031 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6888, allocations: 0.6562 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.6888, allocations: 0.6094 kB / 1.357 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.853e-05/0.6889, allocations: 162.6 kB / 1.357 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.6889, allocations: 0.6094 kB / 1.357 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.094e-05/0.6889, allocations: 15.11 kB / 1.357 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6889, allocations: 0.7812 kB / 1.357 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.6889, allocations: 6.922 kB / 1.357 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6889, allocations: 1.656 kB / 1.357 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6889, allocations: 0.625 kB / 1.357 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001197/0.6891, allocations: 110.9 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.6891, allocations: 87.45 kB / 1.357 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.6891, allocations: 6 kB / 1.357 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.417e-05/0.6891, allocations: 6.031 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.6892, allocations: 11.06 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.6892, allocations: 8.953 kB / 1.357 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.008e-05/0.6892, allocations: 91.92 kB / 1.357 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002488/0.6895, allocations: 48.03 kB / 1.357 GB, free: 13.36 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,and1.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.0001206/0.6896, allocations: 109.2 kB / 1.358 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.6899, allocations: 230.1 kB / 1.358 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6899, allocations: 4.719 kB / 1.358 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.233e-05/0.69, allocations: 38.67 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.0001941/0.6902, allocations: 17.97 kB / 1.358 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.6904, allocations: 116.8 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.6906, allocations: 0.7131 MB / 1.359 GB, free: 28.36 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.6906, allocations: 0 / 1.359 GB, free: 28.36 MB / 0.823 GB Notification: Performance of Templates: time 0.004473/0.6951, allocations: 2.221 MB / 1.361 GB, free: 28.19 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches