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.001291/0.001292, allocations: 108 kB / 15.6 MB, free: 132 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.001585/0.001585, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.492/1.492, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.565/2.565, allocations: 390.2 MB / 0.6646 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.89 kB / 0.8125 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8312/0.8332, 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.002186/0.8354, allocations: 0.8391 MB / 0.9504 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.8371, allocations: 1.466 MB / 0.9518 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.8371, allocations: 2.688 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.8373, allocations: 17.45 kB / 0.9519 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.8374, allocations: 42.2 kB / 0.9519 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.8385, allocations: 0.5022 MB / 0.9524 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000509/0.839, allocations: 0.4935 MB / 0.9529 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.8392, allocations: 44.91 kB / 0.9529 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.8394, allocations: 179.3 kB / 0.9531 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.8396, allocations: 144.5 kB / 0.9532 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.319e-05/0.8397, allocations: 39.97 kB / 0.9533 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.8398, allocations: 63.7 kB / 0.9533 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.8399, allocations: 46.8 kB / 0.9534 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.8401, allocations: 157.3 kB / 0.9535 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.8405, allocations: 414.7 kB / 0.9539 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8405, allocations: 0 / 0.9539 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8405, allocations: 0 / 0.9539 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.8405, allocations: 1.312 kB / 0.9539 GB, free: 5.93 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.0007487/0.8412, allocations: 0.6381 MB / 0.9545 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.8413, allocations: 8.594 kB / 0.9546 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.8414, allocations: 29.28 kB / 0.9546 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.8417, allocations: 271.2 kB / 0.9548 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.8417, allocations: 17.69 kB / 0.9549 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/0.8418, allocations: 28.47 kB / 0.9549 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.842, allocations: 154.1 kB / 0.955 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.8421, allocations: 192 / 0.955 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.8421, allocations: 10.06 kB / 0.955 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.8421, allocations: 2.875 kB / 0.955 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.8422, allocations: 83.84 kB / 0.9551 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006942/0.8429, allocations: 0.712 MB / 0.9558 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.8431, allocations: 175.2 kB / 0.956 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.538e-05/0.8432, allocations: 43.25 kB / 0.956 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.8432, allocations: 0 / 0.956 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.8435, allocations: 158.4 kB / 0.9562 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.8435, allocations: 1.062 kB / 0.9562 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004712/0.8439, allocations: 248.6 kB / 0.9564 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.844, allocations: 59.62 kB / 0.9565 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.8441, allocations: 189.9 kB / 0.9567 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/0.8442, allocations: 39.14 kB / 0.9567 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.332e-05/0.8443, allocations: 123.2 kB / 0.9568 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.8443, allocations: 40.05 kB / 0.9568 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.8445, allocations: 116.2 kB / 0.957 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.8446, allocations: 327.8 kB / 0.9573 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.8449, allocations: 157.1 kB / 0.9574 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.8452, allocations: 233.7 kB / 0.9576 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.8457, allocations: 409 kB / 0.958 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.8457, allocations: 1.375 kB / 0.958 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001003/0.8467, allocations: 0.6285 MB / 0.9586 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/0.8468, allocations: 161.7 kB / 0.9588 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.8468, allocations: 10.19 kB / 0.9588 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/0.8469, allocations: 4.375 kB / 0.9588 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.412e-05/0.8469, allocations: 9.75 kB / 0.9588 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.8469, allocations: 3.688 kB / 0.9588 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009289/0.8479, allocations: 151.5 kB / 0.959 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.102e-05/0.848, allocations: 35 kB / 0.959 GB, free: 1.727 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.0001888/0.8482, allocations: 153.1 kB / 0.9592 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.8482, allocations: 18.27 kB / 0.9592 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.8482, allocations: 24.86 kB / 0.9592 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.8483, allocations: 6.75 kB / 0.9592 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.8483, allocations: 5.125 kB / 0.9592 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.8483, allocations: 0 / 0.9592 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/0.8489, allocations: 0.5052 MB / 0.9597 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8489, allocations: 1.312 kB / 0.9597 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.8489, allocations: 11.23 kB / 0.9597 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.849, allocations: 1.438 kB / 0.9597 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.849, allocations: 6.188 kB / 0.9597 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.849, allocations: 0 / 0.9597 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.849, allocations: 5.219 kB / 0.9597 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.8493, allocations: 290.1 kB / 0.96 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.8493, allocations: 89.64 kB / 0.9601 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.8494, allocations: 5.109 kB / 0.9601 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.629e-05/0.8494, allocations: 6.5 kB / 0.9601 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.8495, allocations: 16.17 kB / 0.9601 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.8495, allocations: 9.609 kB / 0.9601 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.407e-05/0.8496, allocations: 122.1 kB / 0.9602 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8496, allocations: 0 / 0.9602 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004076/0.8501, allocations: 85.56 kB / 0.9603 GB, free: 0.668 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.0002266/0.8503, allocations: 114.1 kB / 0.9604 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008562/0.8511, allocations: 0.6233 MB / 0.961 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.8512, allocations: 4.188 kB / 0.961 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.8513, allocations: 77.66 kB / 0.9611 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.8517, allocations: 51.73 kB / 0.9612 GB, free: 24 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/0.8525, allocations: 333.7 kB / 0.9615 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.8529, allocations: 0.7287 MB / 0.9622 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.458e-05/0.853, allocations: 23.97 kB / 0.9622 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.853, allocations: 18.22 kB / 0.9622 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.853, allocations: 0 / 0.9622 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.01042/0.8635, allocations: 4.561 MB / 0.9667 GB, free: 12.73 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