Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [: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.792/1.792, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009078/0.0009078, allocations: 189.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.138/1.138, allocations: 221.3 MB / 0.7819 GB, free: 1.418 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.0007937/0.0007937, allocations: 103.8 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.023e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1818, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5076/0.6895, allocations: 148.8 MB / 1.351 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/0.6897, allocations: 69.55 kB / 1.351 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0183/0.708, allocations: 6.525 MB / 1.357 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.708, allocations: 2.969 kB / 1.357 GB, free: 15.55 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.0004243/0.7085, allocations: 0.5628 MB / 1.358 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.7085, allocations: 9.406 kB / 1.358 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.7086, allocations: 28.66 kB / 1.358 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.7089, allocations: 266.6 kB / 1.358 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.709, allocations: 5 kB / 1.358 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/0.709, allocations: 28.61 kB / 1.358 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001569/0.7092, allocations: 76.45 kB / 1.358 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.7094, allocations: 140.6 kB / 1.358 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.7094, allocations: 1.359 kB / 1.358 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.7094, allocations: 9.703 kB / 1.358 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.7094, allocations: 3.234 kB / 1.358 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007804/0.7102, allocations: 0.6776 MB / 1.359 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.7104, allocations: 160.2 kB / 1.359 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.7104, allocations: 46.88 kB / 1.359 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.7105, allocations: 0.9688 kB / 1.359 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.7106, allocations: 118.7 kB / 1.359 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.7106, allocations: 0 / 1.359 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0002912/0.7109, allocations: 160.3 kB / 1.359 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.843e-05/0.7109, allocations: 55.8 kB / 1.359 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.711, allocations: 168.1 kB / 1.359 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/0.7111, allocations: 38.67 kB / 1.359 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.7112, allocations: 122.8 kB / 1.36 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.7112, allocations: 39.11 kB / 1.36 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.7113, allocations: 11.41 kB / 1.36 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.7113, allocations: 328.7 kB / 1.36 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.7116, allocations: 133.9 kB / 1.36 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.7118, allocations: 217 kB / 1.36 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/0.7125, allocations: 185.7 kB / 1.36 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7125, allocations: 1 kB / 1.36 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001174/0.7137, allocations: 478.1 kB / 1.361 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.7137, allocations: 5.453 kB / 1.361 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7137, allocations: 2.531 kB / 1.361 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.7138, allocations: 4.969 kB / 1.361 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.163e-05/0.7138, allocations: 11.55 kB / 1.361 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.7138, allocations: 4.141 kB / 1.361 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008191/0.7146, allocations: 205.3 kB / 1.361 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.03e-05/0.7147, allocations: 31.52 kB / 1.361 GB, free: 13.32 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,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.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,mulOr0.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.0001006/0.7148, allocations: 127.8 kB / 1.361 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.7149, allocations: 23.97 kB / 1.361 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.7149, allocations: 18.45 kB / 1.361 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.7149, allocations: 2.922 kB / 1.361 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7149, allocations: 0.6562 kB / 1.361 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.7149, allocations: 1.203 kB / 1.361 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.7153, allocations: 439.2 kB / 1.362 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.7153, allocations: 0.5625 kB / 1.362 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.637e-05/0.7153, allocations: 5.031 kB / 1.362 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.7154, allocations: 8.562 kB / 1.362 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.7154, allocations: 5.188 kB / 1.362 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7154, allocations: 0.6094 kB / 1.362 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7154, allocations: 0 / 1.362 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001692/0.7156, allocations: 246.9 kB / 1.362 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.7156, allocations: 89.72 kB / 1.362 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.7156, allocations: 5.266 kB / 1.362 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.646e-05/0.7157, allocations: 4.656 kB / 1.362 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.7157, allocations: 26.28 kB / 1.362 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.7158, allocations: 13.81 kB / 1.362 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.248e-05/0.7158, allocations: 112 kB / 1.362 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003114/0.7161, allocations: 73.39 kB / 1.362 GB, free: 12.31 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 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.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.0001207/0.7163, allocations: 115.7 kB / 1.362 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.7167, allocations: 404.7 kB / 1.363 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.7167, allocations: 4.125 kB / 1.363 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.489e-05/0.7168, allocations: 71.89 kB / 1.363 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.7171, allocations: 35.28 kB / 1.363 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.7174, allocations: 218.9 kB / 1.363 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.7176, allocations: 0.7554 MB / 1.364 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of SimCode: time 2.11e-07/0.7176, allocations: 0 / 1.364 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of Templates: time 0.005666/0.7233, allocations: 3.915 MB / 1.368 GB, free: 7.652 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches