Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001463/0.001463, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001852/0.001852, allocations: 192.2 kB / 16.25 MB, free: 6.637 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 437 MB / 0.71 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001665, allocations: 59.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7537/0.7554, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002491/0.758, allocations: 0.8976 MB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.76, allocations: 1.483 MB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.7601, allocations: 4 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.7603, allocations: 11.86 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.46e-05/0.7603, allocations: 27.78 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.7616, allocations: 489.4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.7622, allocations: 0.4952 MB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.7624, allocations: 45.47 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.7626, allocations: 187.6 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.7627, allocations: 135.6 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.129e-05/0.7628, allocations: 43.94 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.7629, allocations: 59.97 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.268e-05/0.763, allocations: 39.91 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.7632, allocations: 163.5 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.7636, allocations: 412.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7637, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7637, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.7637, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 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.0008078/0.7645, allocations: 0.6476 MB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.7645, allocations: 8.031 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.7647, allocations: 36.64 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.765, allocations: 263.9 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.765, allocations: 16.38 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.7651, allocations: 36.38 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.7654, allocations: 149.4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.7654, allocations: 192 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.7654, allocations: 11.92 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.7655, allocations: 4 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.7656, allocations: 81.92 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008814/0.7665, allocations: 0.711 MB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.7667, allocations: 167.8 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/0.7668, allocations: 48.78 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.7668, allocations: 7.984 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.7671, allocations: 148.8 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.7671, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004633/0.7675, allocations: 246.9 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.7676, allocations: 63.34 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.7678, allocations: 187.2 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.865e-05/0.7678, allocations: 37.7 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.7679, allocations: 124.5 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.768, allocations: 35.52 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.7682, allocations: 117.6 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7683, allocations: 326.8 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.7687, allocations: 155.9 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.769, allocations: 242.3 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.7695, allocations: 414.5 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7695, allocations: 0 / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009414/0.7704, allocations: 0.6186 MB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.7705, allocations: 160.5 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.7706, allocations: 7.938 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.7706, allocations: 4.344 kB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.578e-05/0.7706, allocations: 15.88 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.7706, allocations: 7.984 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008442/0.7715, allocations: 147.6 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/0.7716, allocations: 31.98 kB / 1.026 GB, free: 8.621 MB / 0.7794 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.0001756/0.7717, allocations: 151.6 kB / 1.026 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.7718, allocations: 19.8 kB / 1.026 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.7718, allocations: 21.81 kB / 1.026 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.7718, allocations: 4 kB / 1.026 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7718, allocations: 0 / 1.026 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7719, allocations: 4 kB / 1.026 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.7724, allocations: 0.51 MB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7724, allocations: 0 / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.7724, allocations: 7.938 kB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.7724, allocations: 0 / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.7725, allocations: 8 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.7725, allocations: 3.984 kB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7725, allocations: 0 / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.7728, allocations: 289 kB / 1.027 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.7728, allocations: 92.91 kB / 1.027 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.7729, allocations: 7.984 kB / 1.027 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.773, allocations: 4 kB / 1.027 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.773, allocations: 19.97 kB / 1.027 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.773, allocations: 8 kB / 1.027 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.688e-05/0.7731, allocations: 120.8 kB / 1.027 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7731, allocations: 0 / 1.027 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003636/0.7735, allocations: 91.84 kB / 1.028 GB, free: 7.184 MB / 0.7794 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.0002006/0.7737, allocations: 116.4 kB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007656/0.7745, allocations: 0.6256 MB / 1.028 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7745, allocations: 0 / 1.028 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.7746, allocations: 83 kB / 1.028 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.7751, allocations: 57.39 kB / 1.028 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.7757, allocations: 360.4 kB / 1.029 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.776, allocations: 0.7319 MB / 1.029 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.184e-05/0.776, allocations: 25.53 kB / 1.029 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.7761, allocations: 15.44 kB / 1.03 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7761, allocations: 3.938 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of Templates: time 0.007981/0.7841, allocations: 4.538 MB / 1.034 GB, free: 0.5703 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches