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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008556/0.008556, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001687/0.001688, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.89 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166/1.168, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.003121/1.171, allocations: 0.8394 MB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003342/1.174, allocations: 1.482 MB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/1.174, allocations: 0 / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001819/1.175, allocations: 15.8 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/1.175, allocations: 35.7 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/1.177, allocations: 0.5182 MB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009866/1.178, allocations: 0.4914 MB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/1.178, allocations: 45.48 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/1.179, allocations: 191.7 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/1.179, allocations: 163.6 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/1.179, allocations: 43.94 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/1.18, allocations: 55.98 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.434e-05/1.18, allocations: 39.89 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002781/1.18, allocations: 163.5 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006647/1.181, allocations: 414.7 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.181, allocations: 0 / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.564e-06/1.181, allocations: 0 / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.686e-06/1.181, allocations: 3.938 kB / 1.212 GB, free: 9.203 MB / 0.9356 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.001124/1.182, allocations: 0.6494 MB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.182, allocations: 12.03 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/1.182, allocations: 28.75 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005472/1.183, allocations: 265.1 kB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/1.183, allocations: 16.38 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/1.183, allocations: 36.36 kB / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/1.183, allocations: 147.8 kB / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/1.183, allocations: 3.938 kB / 1.213 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/1.183, allocations: 11.98 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/1.183, allocations: 0 / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/1.184, allocations: 83.89 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/1.185, allocations: 0.6992 MB / 1.214 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/1.185, allocations: 167.7 kB / 1.214 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/1.185, allocations: 52.95 kB / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/1.186, allocations: 0 / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003887/1.186, allocations: 156.7 kB / 1.214 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 2.855e-06/1.186, allocations: 0 / 1.214 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.000782/1.187, allocations: 247.7 kB / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/1.187, allocations: 59.41 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/1.187, allocations: 194.6 kB / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/1.187, allocations: 37.7 kB / 1.215 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/1.187, allocations: 128.4 kB / 1.215 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/1.187, allocations: 43.5 kB / 1.215 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/1.188, allocations: 117.6 kB / 1.215 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.188, allocations: 330.8 kB / 1.215 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005591/1.189, allocations: 151.9 kB / 1.216 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006378/1.189, allocations: 242.9 kB / 1.216 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008507/1.19, allocations: 406.3 kB / 1.216 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/1.19, allocations: 4.062 kB / 1.216 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001793/1.192, allocations: 0.6226 MB / 1.217 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001897/1.192, allocations: 164.4 kB / 1.217 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.192, allocations: 4 kB / 1.217 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/1.192, allocations: 4 kB / 1.217 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/1.192, allocations: 15.92 kB / 1.217 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/1.192, allocations: 4 kB / 1.217 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/1.193, allocations: 135.9 kB / 1.217 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.193, allocations: 31.97 kB / 1.217 GB, free: 3.555 MB / 0.9356 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.0003063/1.194, allocations: 159.2 kB / 1.217 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/1.194, allocations: 23.69 kB / 1.217 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/1.194, allocations: 21.86 kB / 1.217 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/1.194, allocations: 4 kB / 1.217 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.194, allocations: 0 / 1.217 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/1.194, allocations: 3.984 kB / 1.217 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/1.195, allocations: 0.5099 MB / 1.218 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.195, allocations: 0 / 1.218 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/1.195, allocations: 4 kB / 1.218 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.195, allocations: 4 kB / 1.218 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/1.195, allocations: 15.92 kB / 1.218 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.195, allocations: 0 / 1.218 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.195, allocations: 0 / 1.218 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/1.196, allocations: 281.4 kB / 1.218 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.186e-05/1.196, allocations: 88.92 kB / 1.218 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/1.196, allocations: 11.94 kB / 1.218 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/1.196, allocations: 4 kB / 1.218 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.196, allocations: 23.97 kB / 1.218 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/1.196, allocations: 8 kB / 1.218 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001466/1.196, allocations: 115.2 kB / 1.218 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.71e-07/1.196, allocations: 0 / 1.218 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007112/1.197, allocations: 87.92 kB / 1.219 GB, free: 2.105 MB / 0.9356 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.0003283/1.197, allocations: 111.2 kB / 1.219 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001456/1.199, allocations: 0.6141 MB / 1.219 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/1.199, allocations: 4 kB / 1.219 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/1.199, allocations: 71.91 kB / 1.219 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000694/1.2, allocations: 60.38 kB / 1.219 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009776/1.201, allocations: 330 kB / 1.22 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/1.201, allocations: 0.7242 MB / 1.22 GB, free: 88 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.917e-05/1.201, allocations: 21.55 kB / 1.22 GB, free: 68 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/1.201, allocations: 27.44 kB / 1.22 GB, free: 44 kB / 0.9356 GB Notification: Performance of SimCode: time 9.22e-07/1.201, allocations: 0 / 1.22 GB, free: 44 kB / 0.9356 GB Notification: Performance of Templates: time 0.01569/1.217, allocations: 4.701 MB / 1.225 GB, free: 11.39 MB / 0.9512 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/jenkins/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