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.Or3.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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001105/0.001105, allocations: 202.2 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.983/1.983, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.00114/0.001141, allocations: 94.89 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 9 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2301, allocations: 106.3 MB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.17/0.4002, allocations: 131.5 MB / 1.029 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.4005, allocations: 63.97 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003178/0.4037, allocations: 1.165 MB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4037, allocations: 0 / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.4037, allocations: 4 kB / 1.03 GB, free: 11.44 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000543/0.4042, allocations: 399 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.4043, allocations: 12.03 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.4044, allocations: 11.91 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.4045, allocations: 186.8 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.4045, allocations: 3.938 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.4046, allocations: 4 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.4047, allocations: 65.61 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.4047, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4047, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4047, allocations: 4 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.39e-05/0.4048, allocations: 27.98 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.4053, allocations: 308.8 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.078e-05/0.4054, allocations: 50.56 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.4054, allocations: 0 / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.4056, allocations: 83.41 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.4056, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0002416/0.4059, allocations: 117.5 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.4059, allocations: 63.34 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.406, allocations: 112.9 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.406, allocations: 33.7 kB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.4061, allocations: 84.14 kB / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.4061, allocations: 27.88 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.4061, allocations: 4 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4062, allocations: 322.8 kB / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/0.4063, allocations: 20 kB / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.4063, allocations: 43.42 kB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/0.4064, allocations: 24.31 kB / 1.032 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4064, allocations: 3.938 kB / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001394/0.4065, allocations: 105.5 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4066, allocations: 8 kB / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4066, allocations: 0 / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4066, allocations: 0 / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.4067, allocations: 12 kB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4067, allocations: 0 / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.4068, allocations: 31.83 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.4068, allocations: 8.094 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.382e-05/0.4069, allocations: 125.8 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.4069, allocations: 11.84 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.407, allocations: 12.38 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.407, allocations: 0 / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.407, allocations: 3.984 kB / 1.032 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.407, allocations: 0 / 1.032 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.4072, allocations: 189.6 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4072, allocations: 4 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.4072, allocations: 8 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4072, allocations: 0 / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.4072, allocations: 4 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4072, allocations: 0 / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4072, allocations: 0 / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.4074, allocations: 124.9 kB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.4074, allocations: 77.11 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.4075, allocations: 4 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.4076, allocations: 27.97 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.4077, allocations: 15.97 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.4077, allocations: 4 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.179e-05/0.4077, allocations: 95.45 kB / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4077, allocations: 0 / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001859/0.4079, allocations: 23.94 kB / 1.032 GB, free: 8.27 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.0001374/0.4081, allocations: 103.2 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.4082, allocations: 63.92 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4082, allocations: 0 / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.679e-05/0.4083, allocations: 39.91 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.4085, allocations: 24.89 kB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.4089, allocations: 211.7 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.4092, allocations: 0.6926 MB / 1.034 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.591e-05/0.4092, allocations: 12.55 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.4093, allocations: 11.44 kB / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.4093, allocations: 0 / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of Templates: time 0.003049/0.4123, allocations: 1.043 MB / 1.035 GB, free: 6.023 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches