Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 106.3 kB / 16.37 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 193.8 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.516/2.516, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.19 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3359, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001773/0.3377, allocations: 0.6729 MB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3391, allocations: 1.185 MB / 1.029 GB, free: 196 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.3391, allocations: 4 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.3391, allocations: 3.938 kB / 1.029 GB, free: 188 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.744e-05/0.3392, allocations: 15.86 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.3398, allocations: 217.8 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.3401, allocations: 179.8 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.3402, allocations: 11.98 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.61e-05/0.3403, allocations: 67.88 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.3404, allocations: 59.86 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.3404, allocations: 16 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.363e-05/0.3405, allocations: 27.98 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.3405, allocations: 15.92 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.445e-05/0.3406, allocations: 59.83 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3408, allocations: 147.6 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3408, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3408, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.3409, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004548/0.3413, allocations: 434.7 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.3414, allocations: 8.031 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.3414, allocations: 12.84 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.761e-05/0.3415, allocations: 172.4 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3415, allocations: 8.375 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.3416, allocations: 8.375 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.3417, allocations: 46.25 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3417, allocations: 8.062 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3417, allocations: 7.938 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3417, allocations: 3.984 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.814e-05/0.3418, allocations: 12 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.3422, allocations: 352.7 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.105e-05/0.3423, allocations: 46.44 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.3423, allocations: 12.86 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.3423, allocations: 3.938 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.3425, allocations: 79.45 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.3425, allocations: 0 / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002307/0.3427, allocations: 105.6 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3428, allocations: 63.33 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.435e-05/0.3429, allocations: 113.8 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.3429, allocations: 29.7 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.343, allocations: 88.14 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.343, allocations: 23.78 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.861e-05/0.3431, allocations: 45.69 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3432, allocations: 318.8 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3433, allocations: 63.97 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.3435, allocations: 92.25 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.3437, allocations: 160.1 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3437, allocations: 4 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003883/0.3441, allocations: 264.7 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.3442, allocations: 69.73 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3442, allocations: 4 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3442, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.558e-05/0.3442, allocations: 11.94 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.3442, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.3446, allocations: 52.06 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.3446, allocations: 11.98 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.369e-05/0.3447, allocations: 129.7 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.3447, allocations: 11.91 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.3448, allocations: 4.375 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3448, allocations: 7.984 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3448, allocations: 4 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3448, allocations: 3.984 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.3449, allocations: 177.6 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3449, allocations: 0 / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.3449, allocations: 3.938 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3449, allocations: 0 / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.345, allocations: 7.938 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.345, allocations: 4.297 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.345, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.3451, allocations: 120.9 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.3451, allocations: 85 kB / 1.032 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.3452, allocations: 0 / 1.032 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.3452, allocations: 4 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.3452, allocations: 3.984 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.3453, allocations: 8 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.3453, allocations: 87.28 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.603e-06/0.3453, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002306/0.3455, allocations: 39.92 kB / 1.033 GB, free: 11.62 MB / 0.8106 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000158/0.3457, allocations: 103.2 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.346, allocations: 246.9 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3461, allocations: 0 / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.776e-05/0.3461, allocations: 27.98 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.3463, allocations: 19.86 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.3467, allocations: 155.1 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.347, allocations: 0.6898 MB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.493e-05/0.347, allocations: 7.984 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.347, allocations: 11.44 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.347, allocations: 0 / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of Templates: time 0.004216/0.3512, allocations: 1.836 MB / 1.036 GB, free: 8.461 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches