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.Or.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 249.3 MB / 261.9 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 176.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0008854/0.0008854, allocations: 90.47 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.633e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1976, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6644/0.862, allocations: 131.4 MB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.8623, allocations: 75.5 kB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002358/0.8647, allocations: 0.9079 MB / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8647, allocations: 0 / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.8647, allocations: 4 kB / 1.021 GB, free: 2.5 MB / 0.6355 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.0003922/0.8651, allocations: 346 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.8651, allocations: 8.031 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.8652, allocations: 11.91 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.8653, allocations: 181.8 kB / 1.022 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.8653, allocations: 7.875 kB / 1.022 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.8654, allocations: 4 kB / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.8655, allocations: 50.75 kB / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.8655, allocations: 0 / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.8655, allocations: 0 / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.8655, allocations: 0 / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.716e-05/0.8656, allocations: 22.73 kB / 1.022 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.866, allocations: 282.5 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.018e-05/0.8661, allocations: 45.64 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.8661, allocations: 16.3 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.8661, allocations: 3.438 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.8663, allocations: 74.05 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/0.8663, allocations: 0 / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001722/0.8664, allocations: 76.11 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.8665, allocations: 51.41 kB / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/0.8666, allocations: 119.7 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.8666, allocations: 28.89 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.8667, allocations: 87.64 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.8667, allocations: 3.906 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.8667, allocations: 3.312 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.8668, allocations: 328.6 kB / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.8668, allocations: 11.31 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-05/0.8669, allocations: 33.64 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.131e-05/0.8669, allocations: 19.34 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.8669, allocations: 0 / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001065/0.8671, allocations: 80.69 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.8671, allocations: 5.719 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.8671, allocations: 4 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.8671, allocations: 0 / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.8672, allocations: 7.5 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.8672, allocations: 0 / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.846e-05/0.8673, allocations: 15.98 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.8673, allocations: 7.953 kB / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.672e-05/0.8674, allocations: 110.2 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.8674, allocations: 7.906 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.8674, allocations: 11.8 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.8674, allocations: 4.188 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.8674, allocations: 0 / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.8674, allocations: 7.875 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.8676, allocations: 180.7 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8676, allocations: 3.938 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-06/0.8676, allocations: 0 / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.8676, allocations: 0 / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.8676, allocations: 4 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.726e-06/0.8676, allocations: 6.5 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8677, allocations: 0 / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.8678, allocations: 102.3 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.8679, allocations: 81.09 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.8679, allocations: 4 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.868, allocations: 15.98 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.868, allocations: 11.55 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.868, allocations: 4 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.8681, allocations: 85.41 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.442e-06/0.8681, allocations: 0 / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001661/0.8683, allocations: 15.88 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001365/0.8684, allocations: 107.2 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.8685, allocations: 43.89 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8685, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.969e-05/0.8686, allocations: 27.44 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.8688, allocations: 15.94 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.869, allocations: 91.34 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.8692, allocations: 0.692 MB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.8693, allocations: 15.91 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.8693, allocations: 15.38 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/0.8693, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of Templates: time 0.002456/0.8718, allocations: 0.7528 MB / 1.025 GB, free: 14.04 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches