Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001484/0.001484, allocations: 104.7 kB / 15.98 MB, free: 6.355 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.001431/0.001431, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.568/2.568, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 65.5 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.297, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00205/0.2991, allocations: 0.8869 MB / 1.065 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.301, allocations: 1.478 MB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.793e-05/0.3011, allocations: 3.938 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.3012, allocations: 15.92 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.861e-05/0.3013, allocations: 27.77 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.3025, allocations: 490.3 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005826/0.3031, allocations: 499.2 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3032, allocations: 49.47 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.3035, allocations: 183.7 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.3037, allocations: 139.6 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.007e-05/0.3038, allocations: 44 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3039, allocations: 59.92 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.304, allocations: 39.91 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.3041, allocations: 163.5 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.3045, allocations: 295.5 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3045, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3045, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3045, allocations: 0 / 1.068 GB, free: 10.77 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.0008077/0.3053, allocations: 0.6438 MB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3054, allocations: 15.97 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.3055, allocations: 32.75 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.3058, allocations: 252 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.3058, allocations: 20.38 kB / 1.069 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.805e-05/0.3059, allocations: 32.36 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.3061, allocations: 149.2 kB / 1.069 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3062, allocations: 192 / 1.069 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.3062, allocations: 7.938 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3062, allocations: 4 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.3063, allocations: 87.88 kB / 1.07 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008753/0.3072, allocations: 0.7186 MB / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.3074, allocations: 163.7 kB / 1.07 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.337e-05/0.3075, allocations: 52.77 kB / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.3075, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.3078, allocations: 157.2 kB / 1.071 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.3078, allocations: 4 kB / 1.071 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0004467/0.3082, allocations: 238.5 kB / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.3083, allocations: 63.33 kB / 1.071 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3085, allocations: 180.5 kB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.3085, allocations: 37.7 kB / 1.071 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.3087, allocations: 128.4 kB / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.3087, allocations: 43.53 kB / 1.071 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.3089, allocations: 113.6 kB / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3091, allocations: 334.8 kB / 1.072 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.3094, allocations: 155.8 kB / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.3097, allocations: 241.6 kB / 1.072 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.3102, allocations: 407.7 kB / 1.073 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3102, allocations: 64 / 1.073 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009818/0.3112, allocations: 0.629 MB / 1.073 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.3113, allocations: 160.5 kB / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.3113, allocations: 7.938 kB / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3114, allocations: 4 kB / 1.073 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.622e-05/0.3114, allocations: 15.92 kB / 1.073 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3114, allocations: 4 kB / 1.073 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007787/0.3122, allocations: 147.7 kB / 1.073 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/0.3123, allocations: 27.97 kB / 1.073 GB, free: 5.117 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.0001802/0.3125, allocations: 163 kB / 1.074 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.3125, allocations: 15.81 kB / 1.074 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.3125, allocations: 21.81 kB / 1.074 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3126, allocations: 4 kB / 1.074 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3126, allocations: 0 / 1.074 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3126, allocations: 3.984 kB / 1.074 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.3131, allocations: 0.506 MB / 1.074 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3131, allocations: 0 / 1.074 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.3132, allocations: 4 kB / 1.074 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3132, allocations: 3.938 kB / 1.074 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3132, allocations: 15.98 kB / 1.074 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3132, allocations: 0 / 1.074 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3132, allocations: 0 / 1.074 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.3135, allocations: 280.7 kB / 1.074 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.3136, allocations: 96.84 kB / 1.075 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.3136, allocations: 8 kB / 1.075 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.313e-05/0.3137, allocations: 4 kB / 1.075 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.3137, allocations: 19.97 kB / 1.075 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3138, allocations: 12 kB / 1.075 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.489e-05/0.3138, allocations: 124.2 kB / 1.075 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3138, allocations: 0 / 1.075 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003482/0.3142, allocations: 79.98 kB / 1.075 GB, free: 3.668 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.0001666/0.3144, allocations: 119.9 kB / 1.075 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008454/0.3152, allocations: 0.6246 MB / 1.076 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3152, allocations: 0 / 1.076 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3154, allocations: 83.91 kB / 1.076 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.3158, allocations: 59.75 kB / 1.076 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.3164, allocations: 407.8 kB / 1.076 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.3167, allocations: 0.7281 MB / 1.077 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.3168, allocations: 19.44 kB / 1.077 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3168, allocations: 0 / 1.077 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.423/0.7397, allocations: 3.314 MB / 1.08 GB, free: 21.39 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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