Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001231/0.001231, allocations: 105.2 kB / 16.27 MB, free: 5.98 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.001253/0.001253, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.63/2.63, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001838, allocations: 71.86 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7265/0.7283, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001959/0.7303, allocations: 0.8281 MB / 1.084 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.7319, allocations: 1.481 MB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.732, allocations: 1.906 kB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.7321, allocations: 16.08 kB / 1.085 GB, free: 48 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.7322, allocations: 31.5 kB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.7334, allocations: 0.5101 MB / 1.086 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.734, allocations: 0.4975 MB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.7341, allocations: 48.27 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.7343, allocations: 180.3 kB / 1.086 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.7346, allocations: 144.8 kB / 1.087 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.262e-05/0.7346, allocations: 40.72 kB / 1.087 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.7348, allocations: 55.34 kB / 1.087 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.86e-05/0.7348, allocations: 42.02 kB / 1.087 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.7351, allocations: 159 kB / 1.087 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.7356, allocations: 411.9 kB / 1.087 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7356, allocations: 0 / 1.087 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7356, allocations: 0 / 1.087 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.7356, allocations: 5.219 kB / 1.087 GB, free: 15.18 MB / 0.8419 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.0008183/0.7365, allocations: 0.6403 MB / 1.088 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7365, allocations: 10.09 kB / 1.088 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.7366, allocations: 32.98 kB / 1.088 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.737, allocations: 268 kB / 1.088 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.737, allocations: 19.38 kB / 1.088 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.924e-05/0.7371, allocations: 29.16 kB / 1.088 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.7374, allocations: 152.9 kB / 1.088 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.7374, allocations: 4.188 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.7374, allocations: 11.42 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.7374, allocations: 2.281 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.7376, allocations: 82.44 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009491/0.7385, allocations: 0.7018 MB / 1.089 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.7388, allocations: 171.4 kB / 1.089 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.915e-05/0.7388, allocations: 42.62 kB / 1.089 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.7389, allocations: 1.969 kB / 1.089 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.7391, allocations: 163.1 kB / 1.09 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.7392, allocations: 1.312 kB / 1.09 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0004885/0.7397, allocations: 244.4 kB / 1.09 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.7397, allocations: 59.02 kB / 1.09 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.7399, allocations: 179 kB / 1.09 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.74, allocations: 39.94 kB / 1.09 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.7401, allocations: 130.8 kB / 1.09 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.7401, allocations: 45.09 kB / 1.09 GB, free: 13 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.7403, allocations: 116.4 kB / 1.09 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.7405, allocations: 327.5 kB / 1.091 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.7408, allocations: 158.1 kB / 1.091 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.7412, allocations: 250 kB / 1.091 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.7417, allocations: 406.8 kB / 1.091 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7418, allocations: 5.5 kB / 1.091 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001061/0.7428, allocations: 0.6151 MB / 1.092 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.7429, allocations: 161.8 kB / 1.092 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.743, allocations: 6.531 kB / 1.092 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.743, allocations: 4.469 kB / 1.092 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.691e-05/0.743, allocations: 11.31 kB / 1.092 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.743, allocations: 9.062 kB / 1.092 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008584/0.7439, allocations: 143 kB / 1.092 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/0.744, allocations: 34.7 kB / 1.092 GB, free: 11.55 MB / 0.8419 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.000183/0.7442, allocations: 163.3 kB / 1.092 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.7442, allocations: 16.5 kB / 1.093 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.7443, allocations: 22.92 kB / 1.093 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.7443, allocations: 1.344 kB / 1.093 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7443, allocations: 1.828 kB / 1.093 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7443, allocations: 0.7031 kB / 1.093 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005904/0.7449, allocations: 0.5033 MB / 1.093 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.7449, allocations: 7.938 kB / 1.093 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.7449, allocations: 5.266 kB / 1.093 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7449, allocations: 2.016 kB / 1.093 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.745, allocations: 7.031 kB / 1.093 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.745, allocations: 1.312 kB / 1.093 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.745, allocations: 0.75 kB / 1.093 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.7453, allocations: 283 kB / 1.093 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.7453, allocations: 93.97 kB / 1.093 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.7454, allocations: 6.781 kB / 1.093 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.546e-05/0.7455, allocations: 6.125 kB / 1.093 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.7455, allocations: 19.53 kB / 1.093 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.7455, allocations: 7.188 kB / 1.093 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.973e-05/0.7456, allocations: 123.7 kB / 1.094 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7456, allocations: 0 / 1.094 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000357/0.746, allocations: 83 kB / 1.094 GB, free: 10.59 MB / 0.8419 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.0001694/0.7462, allocations: 118.7 kB / 1.094 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008521/0.747, allocations: 0.6353 MB / 1.094 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7471, allocations: 0 / 1.094 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.7472, allocations: 81.8 kB / 1.094 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.7476, allocations: 56.03 kB / 1.095 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006078/0.7482, allocations: 365.3 kB / 1.095 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.7486, allocations: 0.7241 MB / 1.096 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.7486, allocations: 23.64 kB / 1.096 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.7486, allocations: 0 / 1.096 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of Templates: time 0.006031/0.7547, allocations: 3.332 MB / 1.099 GB, free: 8.699 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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