Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.002674/0.002674, allocations: 194.1 kB / 16.13 MB, free: 6.656 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.436/2.436, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.785/0.7862, allocations: 140.4 MB / 0.9489 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001913/0.7882, allocations: 0.763 MB / 0.9497 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.7897, allocations: 1.298 MB / 0.9509 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.7898, allocations: 0.875 kB / 0.9509 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.7898, allocations: 0 / 0.9509 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.7899, allocations: 18.66 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.7906, allocations: 285 kB / 0.9512 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.7908, allocations: 223.1 kB / 0.9514 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.7909, allocations: 20.05 kB / 0.9515 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.791, allocations: 94.17 kB / 0.9516 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.7912, allocations: 68.25 kB / 0.9516 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.7912, allocations: 14.09 kB / 0.9516 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.088e-05/0.7913, allocations: 30.59 kB / 0.9517 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.7913, allocations: 13.08 kB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.7914, allocations: 75.48 kB / 0.9517 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.7917, allocations: 205.8 kB / 0.9519 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.7917, allocations: 1.281 kB / 0.9519 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.91e-07/0.7917, allocations: 0 / 0.9519 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.7917, allocations: 4 kB / 0.9519 GB, free: 6.965 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005066/0.7922, allocations: 0.4903 MB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7923, allocations: 9.969 kB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.7923, allocations: 10.06 kB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.538e-05/0.7924, allocations: 180.3 kB / 0.9526 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.7925, allocations: 7.719 kB / 0.9526 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.7925, allocations: 20.81 kB / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.7926, allocations: 63.58 kB / 0.9527 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.7927, allocations: 3.938 kB / 0.9527 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.7927, allocations: 5.094 kB / 0.9527 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7927, allocations: 1.094 kB / 0.9527 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.265e-05/0.7927, allocations: 19.23 kB / 0.9527 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.7932, allocations: 422.2 kB / 0.9531 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.664e-05/0.7933, allocations: 27.48 kB / 0.9532 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.7933, allocations: 28.72 kB / 0.9532 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.7934, allocations: 5.031 kB / 0.9532 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.7935, allocations: 97.09 kB / 0.9533 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.7935, allocations: 0 / 0.9533 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003074/0.7939, allocations: 136.7 kB / 0.9534 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.7939, allocations: 58 kB / 0.9535 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.794, allocations: 138.5 kB / 0.9536 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.794, allocations: 35.86 kB / 0.9536 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.7941, allocations: 99.17 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.7941, allocations: 19.14 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.7942, allocations: 66.77 kB / 0.9538 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.7943, allocations: 325.6 kB / 0.9541 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.7945, allocations: 89.73 kB / 0.9542 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.7947, allocations: 136.4 kB / 0.9543 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.7949, allocations: 232.8 kB / 0.9546 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7949, allocations: 0 / 0.9546 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005667/0.7955, allocations: 370.1 kB / 0.9549 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/0.7956, allocations: 101 kB / 0.955 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.7956, allocations: 1.312 kB / 0.955 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.7956, allocations: 2.219 kB / 0.955 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.911e-05/0.7956, allocations: 11.83 kB / 0.955 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.7956, allocations: 2.938 kB / 0.955 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.7961, allocations: 91.12 kB / 0.9551 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.7962, allocations: 17.64 kB / 0.9551 GB, free: 4.094 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,and1.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.99e-05/0.7963, allocations: 133 kB / 0.9553 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.7963, allocations: 12.31 kB / 0.9553 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.7963, allocations: 9.719 kB / 0.9553 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7963, allocations: 1.312 kB / 0.9553 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7963, allocations: 5.219 kB / 0.9553 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7964, allocations: 0 / 0.9553 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.7965, allocations: 194.1 kB / 0.9555 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7965, allocations: 0 / 0.9555 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.117e-05/0.7965, allocations: 5.406 kB / 0.9555 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7965, allocations: 1.219 kB / 0.9555 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.7965, allocations: 1.469 kB / 0.9555 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7965, allocations: 1.406 kB / 0.9555 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7965, allocations: 7.984 kB / 0.9555 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.7967, allocations: 142.9 kB / 0.9556 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.7967, allocations: 83.42 kB / 0.9557 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.7967, allocations: 4.953 kB / 0.9557 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.257e-05/0.7968, allocations: 1.406 kB / 0.9557 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.7968, allocations: 12.3 kB / 0.9557 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.7968, allocations: 3.438 kB / 0.9557 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.833e-05/0.7969, allocations: 103.6 kB / 0.9558 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7969, allocations: 0 / 0.9558 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002453/0.7971, allocations: 41.81 kB / 0.9559 GB, free: 3.402 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * 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 (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.0001213/0.7972, allocations: 109.5 kB / 0.956 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.7976, allocations: 367.2 kB / 0.9563 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7976, allocations: 0 / 0.9563 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.063e-05/0.7977, allocations: 40.66 kB / 0.9564 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.798, allocations: 34.75 kB / 0.9564 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.7983, allocations: 207.7 kB / 0.9566 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.7985, allocations: 0.6924 MB / 0.9573 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.915e-05/0.7985, allocations: 5.875 kB / 0.9573 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.7985, allocations: 16.67 kB / 0.9573 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.7985, allocations: 1.312 kB / 0.9573 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of Templates: time 0.004778/0.8033, allocations: 2.495 MB / 0.9597 GB, free: 0.8086 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches