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.001954/0.001954, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.002451/0.002451, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.477/1.477, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 472.7 MB / 0.746 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.91 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002259/1.026, allocations: 0.8204 MB / 1.227 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002107/1.028, allocations: 1.478 MB / 1.229 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/1.029, allocations: 7.938 kB / 1.229 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/1.029, allocations: 15.81 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/1.029, allocations: 39.7 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/1.03, allocations: 0.5238 MB / 1.229 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007399/1.031, allocations: 499.3 kB / 1.23 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/1.031, allocations: 41.44 kB / 1.23 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/1.032, allocations: 191.6 kB / 1.23 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/1.032, allocations: 171.5 kB / 1.23 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/1.032, allocations: 47.94 kB / 1.23 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/1.032, allocations: 59.97 kB / 1.23 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/1.032, allocations: 35.92 kB / 1.23 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/1.033, allocations: 155.5 kB / 1.23 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005636/1.033, allocations: 419.2 kB / 1.231 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.033, allocations: 0 / 1.231 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.024e-06/1.033, allocations: 0 / 1.231 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.108e-05/1.033, allocations: 0 / 1.231 GB, free: 9.02 MB / 0.9512 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.001039/1.034, allocations: 0.6552 MB / 1.231 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.034, allocations: 8.031 kB / 1.231 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/1.035, allocations: 32.84 kB / 1.231 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/1.035, allocations: 264.1 kB / 1.232 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/1.035, allocations: 16.38 kB / 1.232 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/1.035, allocations: 32.36 kB / 1.232 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/1.035, allocations: 153.6 kB / 1.232 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.035, allocations: 192 / 1.232 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/1.035, allocations: 11.94 kB / 1.232 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.035, allocations: 0 / 1.232 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/1.036, allocations: 79.95 kB / 1.232 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009641/1.037, allocations: 0.7186 MB / 1.233 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/1.037, allocations: 171.6 kB / 1.233 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/1.037, allocations: 48.78 kB / 1.233 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/1.037, allocations: 4 kB / 1.233 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000319/1.037, allocations: 155.4 kB / 1.233 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/1.037, allocations: 0 / 1.233 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0004872/1.038, allocations: 239.5 kB / 1.233 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/1.038, allocations: 63.39 kB / 1.233 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/1.038, allocations: 182.1 kB / 1.233 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/1.038, allocations: 41.7 kB / 1.234 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/1.038, allocations: 128.6 kB / 1.234 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/1.038, allocations: 47.62 kB / 1.234 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/1.038, allocations: 113.6 kB / 1.234 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.039, allocations: 330.8 kB / 1.234 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/1.039, allocations: 155.9 kB / 1.234 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/1.039, allocations: 242.2 kB / 1.234 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/1.04, allocations: 410.7 kB / 1.235 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.04, allocations: 0 / 1.235 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001203/1.041, allocations: 0.6148 MB / 1.235 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001628/1.041, allocations: 160.6 kB / 1.236 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.041, allocations: 7.938 kB / 1.236 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/1.041, allocations: 7.938 kB / 1.236 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.324e-05/1.042, allocations: 11.98 kB / 1.236 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.042, allocations: 8.281 kB / 1.236 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008313/1.042, allocations: 139.7 kB / 1.236 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-05/1.043, allocations: 35.97 kB / 1.236 GB, free: 3.352 MB / 0.9512 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.0002531/1.043, allocations: 159.5 kB / 1.236 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/1.043, allocations: 15.91 kB / 1.236 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.735e-05/1.043, allocations: 25.8 kB / 1.236 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.043, allocations: 0 / 1.236 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.043, allocations: 0 / 1.236 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/1.043, allocations: 89.02 kB / 1.236 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/1.043, allocations: 8 kB / 1.236 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.152e-05/1.043, allocations: 7.984 kB / 1.236 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/1.043, allocations: 19.98 kB / 1.236 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003477/1.044, allocations: 264.8 kB / 1.236 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004279/1.044, allocations: 364.7 kB / 1.237 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001149/1.044, allocations: 71.95 kB / 1.237 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001002/1.044, allocations: 120.2 kB / 1.237 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of Backend: time 1.783e-06/1.044, allocations: 0 / 1.237 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00121/1.045, allocations: 0.6582 MB / 1.238 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001039/1.046, allocations: 0.7547 MB / 1.238 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of Templates: time 0.009914/1.056, allocations: 4.661 MB / 1.243 GB, free: 12.05 MB / 0.9669 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=480 -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) Reference file matches