Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 100.1 kB / 15.88 MB, free: 12 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.002411/0.002411, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.3 MB / 0.6649 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6566/0.658, allocations: 140.4 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001926/0.6599, allocations: 0.8936 MB / 0.9505 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.6616, allocations: 1.529 MB / 0.952 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.6617, allocations: 6.656 kB / 0.952 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.6618, allocations: 7.922 kB / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.6619, allocations: 31.52 kB / 0.952 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009961/0.6629, allocations: 495 kB / 0.9525 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000349/0.6633, allocations: 425.9 kB / 0.9529 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.6634, allocations: 38.89 kB / 0.9529 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.6636, allocations: 159.2 kB / 0.9531 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.6637, allocations: 139.7 kB / 0.9532 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.418e-05/0.6638, allocations: 22.81 kB / 0.9532 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.664, allocations: 38.48 kB / 0.9533 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.664, allocations: 46.58 kB / 0.9533 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.6642, allocations: 139.4 kB / 0.9534 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.6644, allocations: 291 kB / 0.9537 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6645, allocations: 0 / 0.9537 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.61e-07/0.6645, allocations: 0 / 0.9537 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.6645, allocations: 0 / 0.9537 GB, free: 6.105 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006642/0.6651, allocations: 0.6502 MB / 0.9544 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6652, allocations: 9.875 kB / 0.9544 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.6653, allocations: 31.7 kB / 0.9544 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.6656, allocations: 263.6 kB / 0.9547 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.6656, allocations: 17.25 kB / 0.9547 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/0.6657, allocations: 29.75 kB / 0.9547 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.6659, allocations: 153.7 kB / 0.9548 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.6659, allocations: 192 / 0.9548 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.666, allocations: 13.33 kB / 0.9549 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.666, allocations: 6.859 kB / 0.9549 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.6661, allocations: 83.73 kB / 0.9549 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007276/0.6669, allocations: 0.7178 MB / 0.9556 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.6671, allocations: 165.1 kB / 0.9558 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/0.6671, allocations: 43.09 kB / 0.9558 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.6672, allocations: 1.188 kB / 0.9558 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002982/0.6675, allocations: 163 kB / 0.956 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.6675, allocations: 0 / 0.956 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0005049/0.668, allocations: 244 kB / 0.9562 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.668, allocations: 58.75 kB / 0.9563 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.6682, allocations: 185.7 kB / 0.9565 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.6682, allocations: 40.78 kB / 0.9565 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.6683, allocations: 126.7 kB / 0.9566 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.6683, allocations: 38.95 kB / 0.9567 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.6685, allocations: 121.7 kB / 0.9568 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.324e-05/0.6686, allocations: 326.4 kB / 0.9571 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.6689, allocations: 153.5 kB / 0.9572 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.6692, allocations: 242.1 kB / 0.9575 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.6696, allocations: 409.2 kB / 0.9579 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6696, allocations: 0 / 0.9579 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009284/0.6706, allocations: 0.6199 MB / 0.9585 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/0.6707, allocations: 166 kB / 0.9586 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.6707, allocations: 6.438 kB / 0.9586 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.6707, allocations: 4.844 kB / 0.9586 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.688e-05/0.6707, allocations: 9.469 kB / 0.9586 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.6708, allocations: 7.297 kB / 0.9586 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008323/0.6716, allocations: 144 kB / 0.9588 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/0.6717, allocations: 35.03 kB / 0.9588 GB, free: 1.895 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001663/0.6719, allocations: 161.2 kB / 0.959 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.6719, allocations: 18.7 kB / 0.959 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.6719, allocations: 21.5 kB / 0.959 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6719, allocations: 2.219 kB / 0.959 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.6719, allocations: 0 / 0.959 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.672, allocations: 0 / 0.959 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.6724, allocations: 0.5117 MB / 0.9595 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6725, allocations: 1.125 kB / 0.9595 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.6725, allocations: 3.219 kB / 0.9595 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6725, allocations: 5.094 kB / 0.9595 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.6725, allocations: 2.188 kB / 0.9595 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.6725, allocations: 1.094 kB / 0.9595 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6725, allocations: 3.984 kB / 0.9595 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.6728, allocations: 284 kB / 0.9598 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.6728, allocations: 89.02 kB / 0.9599 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.6729, allocations: 10.14 kB / 0.9599 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.6729, allocations: 5.125 kB / 0.9599 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.673, allocations: 20.06 kB / 0.9599 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.673, allocations: 10.5 kB / 0.9599 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.067e-05/0.6731, allocations: 123.6 kB / 0.96 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6731, allocations: 0 / 0.96 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003954/0.6735, allocations: 89.02 kB / 0.9601 GB, free: 0.8359 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: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001676/0.6737, allocations: 114.5 kB / 0.9602 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007405/0.6744, allocations: 0.617 MB / 0.9608 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6745, allocations: 5.25 kB / 0.9608 GB, free: 256 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.6746, allocations: 79.31 kB / 0.9609 GB, free: 224 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.675, allocations: 51.97 kB / 0.961 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006123/0.6757, allocations: 402.1 kB / 0.9614 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.676, allocations: 0.7314 MB / 0.9621 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.6761, allocations: 18.88 kB / 0.9621 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.6761, allocations: 0 / 0.9621 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of Templates: time 0.006384/0.6825, allocations: 3.325 MB / 0.9653 GB, free: 13.41 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mulAnd0.y,mulAnd1.u[1],mulAnd1.y,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[1],mulAnd5.u[2],mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y Variables in the result:mulAnd0.y,mulAnd1.u[1],mulAnd1.y,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[1],mulAnd5.u[2],mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,time