Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001444/0.001444, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 197.1 kB / 16.53 MB, free: 6.672 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.501/2.501, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002164, allocations: 67.89 kB / 0.8125 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8711/0.8733, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002137/0.8755, allocations: 0.6653 MB / 0.9502 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.8771, allocations: 1.189 MB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.8772, allocations: 1.562 kB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/0.8773, allocations: 0 / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.825e-05/0.8774, allocations: 9.375 kB / 0.9514 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007211/0.8781, allocations: 214.2 kB / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.8783, allocations: 178.1 kB / 0.9518 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.8785, allocations: 12.98 kB / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.8786, allocations: 67.41 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.8787, allocations: 56.97 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.8787, allocations: 19.53 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.8788, allocations: 24.88 kB / 0.952 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.8789, allocations: 12.33 kB / 0.952 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.771e-05/0.879, allocations: 57.44 kB / 0.952 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.8791, allocations: 142.5 kB / 0.9522 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.8792, allocations: 0 / 0.9522 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.01e-07/0.8792, allocations: 1.5 kB / 0.9522 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.8792, allocations: 0 / 0.9522 GB, free: 7.238 MB / 0.7169 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.0004997/0.8797, allocations: 437.8 kB / 0.9526 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.8797, allocations: 9.5 kB / 0.9526 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.8798, allocations: 11.88 kB / 0.9526 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.8799, allocations: 175.2 kB / 0.9528 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.8799, allocations: 6.062 kB / 0.9528 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.88, allocations: 12.41 kB / 0.9528 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.8801, allocations: 55.58 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.8801, allocations: 192 / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.8802, allocations: 5.094 kB / 0.9529 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.8802, allocations: 1.188 kB / 0.9529 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.28e-05/0.8802, allocations: 15.7 kB / 0.9529 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.8807, allocations: 351.4 kB / 0.9532 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.121e-05/0.8807, allocations: 43.42 kB / 0.9532 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.8808, allocations: 14.27 kB / 0.9533 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.8808, allocations: 5.516 kB / 0.9533 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.881, allocations: 83.28 kB / 0.9533 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.881, allocations: 0 / 0.9533 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002584/0.8812, allocations: 100.6 kB / 0.9534 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.8813, allocations: 56.7 kB / 0.9535 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.8814, allocations: 119.4 kB / 0.9536 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.8814, allocations: 37.78 kB / 0.9536 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.8814, allocations: 83.95 kB / 0.9537 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.8815, allocations: 14.53 kB / 0.9537 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.8816, allocations: 52.88 kB / 0.9538 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.8816, allocations: 323.9 kB / 0.9541 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.8818, allocations: 59.31 kB / 0.9542 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.8819, allocations: 90.88 kB / 0.9542 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.8821, allocations: 156.8 kB / 0.9544 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8821, allocations: 5.188 kB / 0.9544 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000401/0.8825, allocations: 265.3 kB / 0.9546 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.8825, allocations: 68.83 kB / 0.9547 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.8825, allocations: 2.688 kB / 0.9547 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8826, allocations: 1.594 kB / 0.9547 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.049e-05/0.8826, allocations: 1.625 kB / 0.9547 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.8826, allocations: 6.5 kB / 0.9547 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.883, allocations: 54.64 kB / 0.9548 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.883, allocations: 21.52 kB / 0.9548 GB, free: 4.75 MB / 0.7169 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 8.825e-05/0.8831, allocations: 125 kB / 0.9549 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.8831, allocations: 6.469 kB / 0.9549 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.8832, allocations: 13.81 kB / 0.9549 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.8832, allocations: 5.438 kB / 0.9549 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.8832, allocations: 0 / 0.9549 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8832, allocations: 1.406 kB / 0.9549 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.8833, allocations: 179.5 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8833, allocations: 1.188 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-06/0.8833, allocations: 1.125 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.8833, allocations: 5.469 kB / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.8833, allocations: 0 / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.8833, allocations: 1.562 kB / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8834, allocations: 4 kB / 0.9551 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.8835, allocations: 112.4 kB / 0.9552 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.8835, allocations: 78.77 kB / 0.9553 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.8835, allocations: 5.047 kB / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.8836, allocations: 4 kB / 0.9553 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.8836, allocations: 2.969 kB / 0.9553 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.8836, allocations: 10.73 kB / 0.9553 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.8837, allocations: 95.56 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8837, allocations: 0 / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002601/0.8839, allocations: 34.58 kB / 0.9555 GB, free: 4.09 MB / 0.7169 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.0002032/0.8842, allocations: 103.3 kB / 0.9556 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003129/0.8845, allocations: 248.8 kB / 0.9558 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8845, allocations: 0 / 0.9558 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.311e-05/0.8845, allocations: 32.44 kB / 0.9558 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.8848, allocations: 24.66 kB / 0.9558 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.8851, allocations: 161 kB / 0.956 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.8853, allocations: 0.6885 MB / 0.9567 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.836e-05/0.8853, allocations: 15.52 kB / 0.9567 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.8853, allocations: 10.62 kB / 0.9567 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8853, allocations: 0 / 0.9567 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of Templates: time 0.004423/0.8898, allocations: 1.843 MB / 0.9585 GB, free: 1.965 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches