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.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.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.001508/0.001508, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002023/0.002023, allocations: 190.2 kB / 16.25 MB, free: 6.621 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.455/1.455, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.466/2.466, allocations: 390.2 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 64.14 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.76, allocations: 140.4 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001945/0.762, allocations: 0.8906 MB / 0.95 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.7635, allocations: 1.476 MB / 0.9514 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.7635, allocations: 1.375 kB / 0.9514 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.7637, allocations: 13.23 kB / 0.9514 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-05/0.7637, allocations: 31.89 kB / 0.9515 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.7648, allocations: 498.8 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.7653, allocations: 0.49 MB / 0.9524 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.7654, allocations: 41.06 kB / 0.9525 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.7656, allocations: 183 kB / 0.9526 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.7657, allocations: 144.1 kB / 0.9528 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.934e-05/0.7658, allocations: 39.91 kB / 0.9528 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.7659, allocations: 55.02 kB / 0.9529 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.766, allocations: 47.31 kB / 0.9529 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.7661, allocations: 163.4 kB / 0.9531 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.7665, allocations: 410.6 kB / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7665, allocations: 0 / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7665, allocations: 0 / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.7666, allocations: 0 / 0.9535 GB, free: 6.016 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.0006841/0.7672, allocations: 0.6382 MB / 0.9541 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.7673, allocations: 10.09 kB / 0.9541 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.7674, allocations: 28.56 kB / 0.9541 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.7677, allocations: 266.9 kB / 0.9544 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.7677, allocations: 25.53 kB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.7678, allocations: 32.39 kB / 0.9544 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.768, allocations: 154.4 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.768, allocations: 4.172 kB / 0.9546 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.7681, allocations: 6.188 kB / 0.9546 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.7681, allocations: 2.312 kB / 0.9546 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.7682, allocations: 86.53 kB / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007482/0.769, allocations: 0.7114 MB / 0.9554 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.7692, allocations: 175.1 kB / 0.9555 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.137e-05/0.7692, allocations: 46.27 kB / 0.9556 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.7693, allocations: 1.375 kB / 0.9556 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.7695, allocations: 146.6 kB / 0.9557 GB, free: 4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.7695, allocations: 3.938 kB / 0.9557 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004281/0.7699, allocations: 244.7 kB / 0.956 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.77, allocations: 63.7 kB / 0.956 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.7701, allocations: 187 kB / 0.9562 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.7702, allocations: 38.92 kB / 0.9562 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.7703, allocations: 123.2 kB / 0.9563 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.7703, allocations: 42.69 kB / 0.9564 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.7705, allocations: 112.4 kB / 0.9565 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.958e-05/0.7706, allocations: 330.9 kB / 0.9568 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.7709, allocations: 158.2 kB / 0.957 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.7712, allocations: 237.2 kB / 0.9572 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.7716, allocations: 405.6 kB / 0.9576 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.7716, allocations: 0 / 0.9576 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009292/0.7725, allocations: 0.6154 MB / 0.9582 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.952e-05/0.7726, allocations: 164.6 kB / 0.9583 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.7726, allocations: 7.375 kB / 0.9583 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.7727, allocations: 8.281 kB / 0.9583 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.55e-05/0.7727, allocations: 13.02 kB / 0.9584 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.7727, allocations: 8.031 kB / 0.9584 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007993/0.7735, allocations: 148 kB / 0.9585 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.7736, allocations: 31.36 kB / 0.9585 GB, free: 1.816 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.0001453/0.7737, allocations: 160.4 kB / 0.9587 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.7738, allocations: 14.94 kB / 0.9587 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.7738, allocations: 21.09 kB / 0.9587 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.7738, allocations: 2.094 kB / 0.9587 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7738, allocations: 4 kB / 0.9587 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.7739, allocations: 5.141 kB / 0.9587 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.7744, allocations: 0.5094 MB / 0.9592 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7744, allocations: 0 / 0.9592 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.7744, allocations: 12.16 kB / 0.9592 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.7744, allocations: 1.125 kB / 0.9592 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.7744, allocations: 6.141 kB / 0.9592 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7745, allocations: 1.094 kB / 0.9593 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7745, allocations: 0 / 0.9593 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.7747, allocations: 285.6 kB / 0.9595 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.7748, allocations: 94 kB / 0.9596 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.7748, allocations: 5 kB / 0.9596 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.7749, allocations: 2 kB / 0.9596 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.7749, allocations: 24.12 kB / 0.9596 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.7749, allocations: 9.781 kB / 0.9597 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.629e-05/0.775, allocations: 124 kB / 0.9598 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.775, allocations: 4 kB / 0.9598 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003656/0.7754, allocations: 89.89 kB / 0.9599 GB, free: 0.7461 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.0001527/0.7755, allocations: 110.4 kB / 0.96 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000686/0.7762, allocations: 0.6239 MB / 0.9606 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.7763, allocations: 0.6875 kB / 0.9606 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.7764, allocations: 84.47 kB / 0.9607 GB, free: 132 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.7768, allocations: 52.53 kB / 0.9607 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.7774, allocations: 371.6 kB / 0.9611 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.7777, allocations: 0.7321 MB / 0.9618 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.049e-05/0.7778, allocations: 19.86 kB / 0.9618 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.7778, allocations: 18.25 kB / 0.9618 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.7778, allocations: 0 / 0.9618 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.009867/0.7877, allocations: 4.535 MB / 0.9662 GB, free: 12.78 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches