Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.0008684/0.0008683, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005535/0.005535, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.723/2.723, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003785, allocations: 12 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8586/0.859, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001144/0.8603, allocations: 396.9 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.8622, allocations: 1.198 MB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.8623, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.8623, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.254e-05/0.8624, allocations: 11.92 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/0.8632, allocations: 210.5 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.8634, allocations: 147.7 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.8636, allocations: 11.98 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.8637, allocations: 59.83 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.8638, allocations: 47.86 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.8638, allocations: 8 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.8639, allocations: 27.98 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.864, allocations: 4 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.8641, allocations: 81.52 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.8643, allocations: 131.6 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8643, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.708e-06/0.8644, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8644, allocations: 3.938 kB / 1.025 GB, free: 13.52 MB / 0.7794 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.0006151/0.865, allocations: 412.7 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.865, allocations: 8.031 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.8651, allocations: 12.94 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.8653, allocations: 176.2 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.8653, allocations: 4.375 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.8654, allocations: 12.31 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.8655, allocations: 54.23 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.8655, allocations: 192 / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.8655, allocations: 3.938 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.8656, allocations: 0 / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.516e-05/0.8656, allocations: 15.98 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.8661, allocations: 352.8 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.772e-05/0.8663, allocations: 42.44 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.8663, allocations: 12.86 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.8663, allocations: 4 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.8665, allocations: 91.3 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.8665, allocations: 4 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002708/0.8668, allocations: 97.61 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.8668, allocations: 55.41 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.867, allocations: 117.8 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.867, allocations: 29.7 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.8671, allocations: 96.11 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.8671, allocations: 15.81 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.8672, allocations: 25.7 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8673, allocations: 322.8 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.8675, allocations: 55.97 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.8676, allocations: 96.25 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.8678, allocations: 163.5 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8678, allocations: 0 / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004136/0.8683, allocations: 256.9 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/0.8683, allocations: 67.88 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8683, allocations: 64 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.8684, allocations: 7.984 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.838e-05/0.8684, allocations: 7.938 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.8684, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.8689, allocations: 86.52 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.8689, allocations: 19.98 kB / 1.028 GB, free: 10.54 MB / 0.7794 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 0.0001301/0.869, allocations: 127.2 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.8691, allocations: 7.906 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.8691, allocations: 12.36 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.8691, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8691, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8691, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.8693, allocations: 177.6 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.8693, allocations: 0 / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.545e-06/0.8693, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.8693, allocations: 3.984 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.8693, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8693, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8693, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.8695, allocations: 113 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.8695, allocations: 81.02 kB / 1.028 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.8696, allocations: 0 / 1.028 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.8696, allocations: 11.94 kB / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.8696, allocations: 7.984 kB / 1.028 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.8697, allocations: 4 kB / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.177e-05/0.8697, allocations: 91.27 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8697, allocations: 0 / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002373/0.87, allocations: 32 kB / 1.029 GB, free: 9.785 MB / 0.7794 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.0001925/0.8702, allocations: 107.2 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.8705, allocations: 246.6 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8706, allocations: 0 / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.639e-05/0.8706, allocations: 27.98 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.8709, allocations: 18.02 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.8713, allocations: 179.4 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.8716, allocations: 0.689 MB / 1.03 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.711e-05/0.8716, allocations: 4 kB / 1.03 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.8717, allocations: 7.438 kB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.8717, allocations: 3.938 kB / 1.03 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of Templates: time 0.004741/0.8764, allocations: 1.754 MB / 1.031 GB, free: 6.703 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches