Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [: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.806/1.806, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001055/0.001055, allocations: 177.3 kB / 487 MB, free: 5.359 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.129/1.129, 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.0008404/0.0008404, allocations: 89.45 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.652e-06/6.762e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1864, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4968/0.6832, allocations: 148.8 MB / 1.351 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001658/0.6834, allocations: 67.17 kB / 1.351 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01827/0.7017, allocations: 6.522 MB / 1.357 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.7017, allocations: 3.594 kB / 1.357 GB, free: 15.46 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004156/0.7022, allocations: 0.5584 MB / 1.358 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.7022, allocations: 12.78 kB / 1.358 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.168e-05/0.7023, allocations: 29.53 kB / 1.358 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.7026, allocations: 273.7 kB / 1.358 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.7027, allocations: 4.891 kB / 1.358 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.978e-05/0.7027, allocations: 29.03 kB / 1.358 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001586/0.7029, allocations: 72.95 kB / 1.358 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.7031, allocations: 140.5 kB / 1.358 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.7031, allocations: 0.8438 kB / 1.358 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.7031, allocations: 5.703 kB / 1.358 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.7031, allocations: 6.844 kB / 1.358 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000823/0.704, allocations: 0.672 MB / 1.359 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.7041, allocations: 160.2 kB / 1.359 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.257e-05/0.7042, allocations: 38.08 kB / 1.359 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-06/0.7042, allocations: 1.094 kB / 1.359 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.7044, allocations: 115.9 kB / 1.359 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.7044, allocations: 4 kB / 1.359 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0002824/0.7047, allocations: 158.9 kB / 1.359 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.885e-05/0.7047, allocations: 56.3 kB / 1.359 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.7048, allocations: 162.8 kB / 1.359 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.7048, allocations: 37.89 kB / 1.359 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.7049, allocations: 117.8 kB / 1.36 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.7049, allocations: 40.61 kB / 1.36 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.705, allocations: 11.94 kB / 1.36 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.705, allocations: 332.4 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.7053, allocations: 132.6 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.7056, allocations: 220 kB / 1.36 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006645/0.7063, allocations: 186.7 kB / 1.36 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7063, allocations: 0 / 1.36 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001142/0.7074, allocations: 480.5 kB / 1.361 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.7074, allocations: 6.016 kB / 1.361 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7074, allocations: 2.406 kB / 1.361 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.7075, allocations: 4.906 kB / 1.361 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.447e-05/0.7075, allocations: 11.22 kB / 1.361 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.7075, allocations: 9.766 kB / 1.361 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008451/0.7084, allocations: 201.3 kB / 1.361 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-05/0.7085, allocations: 31.62 kB / 1.361 GB, free: 13.24 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulAnd0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0001085/0.7086, allocations: 134.2 kB / 1.361 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.7086, allocations: 19.83 kB / 1.361 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.7087, allocations: 18.78 kB / 1.361 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7087, allocations: 2.312 kB / 1.361 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7087, allocations: 0.625 kB / 1.361 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.7087, allocations: 1.719 kB / 1.361 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.7091, allocations: 445 kB / 1.362 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7091, allocations: 4 kB / 1.362 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.8e-05/0.7091, allocations: 9.344 kB / 1.362 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7091, allocations: 0.5156 kB / 1.362 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.7091, allocations: 5.219 kB / 1.362 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7091, allocations: 0.6562 kB / 1.362 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7092, allocations: 0 / 1.362 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001776/0.7093, allocations: 247 kB / 1.362 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.7094, allocations: 90 kB / 1.362 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.7094, allocations: 5.219 kB / 1.362 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.7095, allocations: 1.406 kB / 1.362 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.7095, allocations: 22.59 kB / 1.362 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.7095, allocations: 13.11 kB / 1.362 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.525e-05/0.7096, allocations: 111.3 kB / 1.362 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003137/0.7099, allocations: 73.11 kB / 1.362 GB, free: 12.23 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: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.71, allocations: 122.1 kB / 1.362 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.7105, allocations: 405 kB / 1.363 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.7105, allocations: 0 / 1.363 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.7106, allocations: 70.72 kB / 1.363 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.7108, allocations: 44.45 kB / 1.363 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.7112, allocations: 217.9 kB / 1.363 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.7114, allocations: 0.7477 MB / 1.364 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of SimCode: time 2.5e-07/0.7114, allocations: 0 / 1.364 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of Templates: time 0.005554/0.717, allocations: 3.917 MB / 1.368 GB, free: 7.551 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches