Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 179 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.4 MB / 0.5775 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007908/0.0007908, allocations: 97.22 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 14.39 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.228, allocations: 106.3 MB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.3957, allocations: 131.8 MB / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.396, allocations: 71.95 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006028/0.4021, allocations: 2.142 MB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4021, allocations: 0 / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.4021, allocations: 4 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008229/0.403, allocations: 487.4 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.403, allocations: 15.97 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/0.4031, allocations: 19.81 kB / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.4034, allocations: 229.7 kB / 1.032 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.4034, allocations: 8 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.4034, allocations: 16 kB / 1.032 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.4037, allocations: 159.2 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4037, allocations: 4 kB / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.4038, allocations: 4 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4038, allocations: 4 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.404, allocations: 99.94 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.405, allocations: 0.6137 MB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.4053, allocations: 207.6 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.4053, allocations: 7.984 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.4055, allocations: 128.9 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 2.795e-06/0.4055, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0004076/0.4059, allocations: 223.7 kB / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.406, allocations: 59.39 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.4061, allocations: 156.1 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.4062, allocations: 29.7 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.4062, allocations: 116.6 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.4063, allocations: 47.67 kB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.4063, allocations: 4 kB / 1.033 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4065, allocations: 334.8 kB / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.4066, allocations: 47.98 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.4067, allocations: 101.9 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.529e-05/0.4068, allocations: 47.98 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4068, allocations: 0 / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002493/0.407, allocations: 183.2 kB / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4071, allocations: 4 kB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.4071, allocations: 4 kB / 1.034 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.4071, allocations: 0 / 1.034 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.096e-05/0.4072, allocations: 23.92 kB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.4072, allocations: 4 kB / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.4074, allocations: 40.16 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.4074, allocations: 11.98 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001381/0.4076, allocations: 152.5 kB / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.4076, allocations: 19.81 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.4076, allocations: 17.19 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4077, allocations: 4 kB / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4077, allocations: 0 / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4077, allocations: 0 / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/0.4082, allocations: 0.4983 MB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4082, allocations: 0 / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.15e-05/0.4083, allocations: 7.984 kB / 1.035 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4083, allocations: 0 / 1.035 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.4083, allocations: 8 kB / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4083, allocations: 0 / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4083, allocations: 4 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.4086, allocations: 269.3 kB / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.4086, allocations: 92.86 kB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.4087, allocations: 11.98 kB / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.4089, allocations: 39.97 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.409, allocations: 31.94 kB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.409, allocations: 4 kB / 1.035 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.152e-05/0.4091, allocations: 124.5 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4091, allocations: 0 / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002467/0.4093, allocations: 36 kB / 1.036 GB, free: 5.105 MB / 0.6823 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],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.0001548/0.4095, allocations: 111.2 kB / 1.036 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.4097, allocations: 141.5 kB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4098, allocations: 4 kB / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.4099, allocations: 71.91 kB / 1.036 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.4102, allocations: 48.23 kB / 1.036 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006504/0.4109, allocations: 376.6 kB / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.4112, allocations: 0.7284 MB / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.401e-05/0.4113, allocations: 37.53 kB / 1.037 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.4113, allocations: 15.44 kB / 1.037 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/0.4113, allocations: 0 / 1.037 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of Templates: time 0.004425/0.4157, allocations: 2.007 MB / 1.039 GB, free: 1.543 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches