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.001385/0.001386, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001765/0.001765, allocations: 189.7 kB / 16.13 MB, free: 6.645 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.529/1.529, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.452/2.452, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7797/0.7809, allocations: 140.4 MB / 0.9489 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001881/0.7828, allocations: 0.8874 MB / 0.9498 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.7843, allocations: 1.535 MB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.7844, allocations: 4 kB / 0.9513 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.7845, allocations: 17.27 kB / 0.9513 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.7846, allocations: 23.66 kB / 0.9513 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009673/0.7855, allocations: 491.3 kB / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.7859, allocations: 422.2 kB / 0.9522 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.786, allocations: 43 kB / 0.9523 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.7861, allocations: 166.9 kB / 0.9524 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.7863, allocations: 135.4 kB / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.928e-05/0.7864, allocations: 23.72 kB / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.7865, allocations: 38.23 kB / 0.9526 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.7865, allocations: 39.75 kB / 0.9526 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.7867, allocations: 146.5 kB / 0.9528 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.787, allocations: 387.2 kB / 0.9531 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.787, allocations: 4 kB / 0.9532 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.62e-07/0.787, allocations: 5.375 kB / 0.9532 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.787, allocations: 0 / 0.9532 GB, free: 6.125 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.0006174/0.7876, allocations: 0.6381 MB / 0.9538 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7877, allocations: 8.438 kB / 0.9538 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.402e-05/0.7878, allocations: 33.44 kB / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.788, allocations: 259.6 kB / 0.9541 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.7881, allocations: 21.11 kB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.7881, allocations: 28.44 kB / 0.9541 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.7884, allocations: 162.3 kB / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.7884, allocations: 4.125 kB / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.7884, allocations: 10.22 kB / 0.9543 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.7884, allocations: 2.375 kB / 0.9543 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.7885, allocations: 84.41 kB / 0.9544 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006835/0.7892, allocations: 0.716 MB / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.7894, allocations: 170.6 kB / 0.9552 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.658e-05/0.7895, allocations: 42.81 kB / 0.9553 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.7895, allocations: 5.125 kB / 0.9553 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.7897, allocations: 158.5 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.7897, allocations: 0 / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004147/0.7901, allocations: 248.6 kB / 0.9557 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.7902, allocations: 59.44 kB / 0.9557 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.7903, allocations: 188.2 kB / 0.9559 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.7903, allocations: 36.73 kB / 0.9559 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.7904, allocations: 122.5 kB / 0.9561 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.7904, allocations: 39.31 kB / 0.9561 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.7906, allocations: 118.2 kB / 0.9562 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.7907, allocations: 327.3 kB / 0.9565 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.791, allocations: 152.9 kB / 0.9567 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.7913, allocations: 249.7 kB / 0.9569 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.7916, allocations: 396.4 kB / 0.9573 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.7916, allocations: 5.375 kB / 0.9573 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008604/0.7925, allocations: 0.6247 MB / 0.9579 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.712e-05/0.7926, allocations: 165.1 kB / 0.958 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.7926, allocations: 6.25 kB / 0.9581 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.7926, allocations: 5.094 kB / 0.9581 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.486e-05/0.7926, allocations: 13.28 kB / 0.9581 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.7927, allocations: 11.94 kB / 0.9581 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/0.7935, allocations: 143.6 kB / 0.9582 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.629e-05/0.7935, allocations: 39.19 kB / 0.9583 GB, free: 1.906 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.0001442/0.7937, allocations: 151.7 kB / 0.9584 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.7937, allocations: 16.19 kB / 0.9584 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.7938, allocations: 24.7 kB / 0.9584 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.7938, allocations: 2.375 kB / 0.9584 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7938, allocations: 0 / 0.9584 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7938, allocations: 0.9375 kB / 0.9584 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.7942, allocations: 0.5078 MB / 0.9589 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7943, allocations: 0 / 0.9589 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.7943, allocations: 12.05 kB / 0.959 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7943, allocations: 0 / 0.959 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.7943, allocations: 6.75 kB / 0.959 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.7943, allocations: 5.312 kB / 0.959 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7943, allocations: 0 / 0.959 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.7946, allocations: 287.7 kB / 0.9592 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.7946, allocations: 89.64 kB / 0.9593 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.7946, allocations: 1.125 kB / 0.9593 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.397e-05/0.7947, allocations: 10.23 kB / 0.9593 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.7948, allocations: 16.08 kB / 0.9593 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.7948, allocations: 9.984 kB / 0.9594 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.79e-05/0.7949, allocations: 122.8 kB / 0.9595 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7949, allocations: 5.031 kB / 0.9595 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003692/0.7952, allocations: 84.53 kB / 0.9596 GB, free: 0.8555 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.0001699/0.7954, allocations: 114.4 kB / 0.9597 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000659/0.7961, allocations: 0.61 MB / 0.9603 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7961, allocations: 0 / 0.9603 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.7962, allocations: 73.91 kB / 0.9603 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.7966, allocations: 54.27 kB / 0.9604 GB, free: 228 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.7972, allocations: 373.5 kB / 0.9607 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.7975, allocations: 0.7279 MB / 0.9615 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.974e-05/0.7976, allocations: 25.16 kB / 0.9615 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.7977, allocations: 25.67 kB / 0.9615 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.7977, allocations: 3.828 kB / 0.9615 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of Templates: time 0.01008/0.8078, allocations: 4.328 MB / 0.9657 GB, free: 13 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