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.009241/0.009241, allocations: 99.27 kB / 15.73 MB, free: 6.012 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.001906/0.001907, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.578/1.578, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 472.6 MB / 0.7453 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.84 kB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.102, allocations: 159.9 MB / 1.226 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002406/1.104, allocations: 0.826 MB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002307/1.106, allocations: 1.486 MB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.025e-05/1.106, allocations: 3.938 kB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001854/1.107, allocations: 23.8 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.291e-05/1.107, allocations: 23.72 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/1.108, allocations: 0.5222 MB / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006894/1.109, allocations: 499.3 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/1.109, allocations: 49.42 kB / 1.229 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/1.109, allocations: 191.6 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003198/1.11, allocations: 175.4 kB / 1.229 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-05/1.11, allocations: 40 kB / 1.229 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/1.11, allocations: 55.98 kB / 1.229 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.891e-05/1.11, allocations: 39.91 kB / 1.229 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002386/1.11, allocations: 159.5 kB / 1.23 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005921/1.111, allocations: 415.7 kB / 1.23 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.111, allocations: 0 / 1.23 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.735e-06/1.111, allocations: 0 / 1.23 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.505e-05/1.111, allocations: 0 / 1.23 GB, free: 9.188 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.001066/1.112, allocations: 0.6515 MB / 1.231 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.112, allocations: 8.031 kB / 1.231 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/1.112, allocations: 28.84 kB / 1.231 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/1.113, allocations: 264 kB / 1.231 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/1.113, allocations: 16.38 kB / 1.231 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-05/1.113, allocations: 28.38 kB / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/1.113, allocations: 152.7 kB / 1.231 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.113, allocations: 192 / 1.231 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/1.113, allocations: 15.94 kB / 1.231 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.113, allocations: 0 / 1.231 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/1.113, allocations: 83.94 kB / 1.231 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009728/1.114, allocations: 0.7109 MB / 1.232 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/1.114, allocations: 163.7 kB / 1.232 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.64e-05/1.115, allocations: 48.84 kB / 1.232 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/1.115, allocations: 0 / 1.232 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/1.115, allocations: 159.4 kB / 1.232 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 3.607e-06/1.115, allocations: 0 / 1.232 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0005171/1.115, allocations: 242.5 kB / 1.233 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/1.115, allocations: 63.41 kB / 1.233 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/1.116, allocations: 186.1 kB / 1.233 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/1.116, allocations: 37.7 kB / 1.233 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/1.116, allocations: 132.6 kB / 1.233 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/1.116, allocations: 47.58 kB / 1.233 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/1.116, allocations: 117.6 kB / 1.233 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001901/1.116, allocations: 326.9 kB / 1.233 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/1.117, allocations: 159.8 kB / 1.234 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/1.117, allocations: 241.7 kB / 1.234 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005334/1.118, allocations: 410.5 kB / 1.234 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.118, allocations: 0 / 1.234 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001082/1.119, allocations: 0.6112 MB / 1.235 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/1.119, allocations: 160.5 kB / 1.235 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.119, allocations: 8.281 kB / 1.235 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.119, allocations: 8 kB / 1.235 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.297e-05/1.119, allocations: 11.94 kB / 1.235 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/1.119, allocations: 8 kB / 1.235 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/1.12, allocations: 139.7 kB / 1.235 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/1.12, allocations: 31.98 kB / 1.235 GB, free: 3.535 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.0002027/1.12, allocations: 163.5 kB / 1.235 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/1.12, allocations: 19.88 kB / 1.235 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.428e-05/1.12, allocations: 21.81 kB / 1.235 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.12, allocations: 4.062 kB / 1.235 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.12, allocations: 8 kB / 1.235 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/1.12, allocations: 0 / 1.235 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006122/1.121, allocations: 0.508 MB / 1.236 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.121, allocations: 0 / 1.236 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/1.121, allocations: 4 kB / 1.236 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/1.121, allocations: 0 / 1.236 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/1.121, allocations: 8 kB / 1.236 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.309e-06/1.121, allocations: 3.984 kB / 1.236 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/1.121, allocations: 0 / 1.236 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/1.121, allocations: 291.2 kB / 1.236 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/1.121, allocations: 89.02 kB / 1.236 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/1.121, allocations: 7.984 kB / 1.236 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/1.121, allocations: 4 kB / 1.236 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/1.121, allocations: 23.92 kB / 1.236 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/1.121, allocations: 12 kB / 1.236 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001037/1.122, allocations: 116.2 kB / 1.236 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.122, allocations: 0 / 1.236 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003434/1.122, allocations: 87.94 kB / 1.236 GB, free: 2.074 MB / 0.9512 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.0002402/1.122, allocations: 112.7 kB / 1.237 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008845/1.123, allocations: 0.6261 MB / 1.237 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.123, allocations: 4 kB / 1.237 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/1.123, allocations: 72.59 kB / 1.237 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/1.124, allocations: 63.81 kB / 1.237 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/1.124, allocations: 321.1 kB / 1.238 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/1.125, allocations: 0.7281 MB / 1.238 GB, free: 44 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.334e-05/1.125, allocations: 21.53 kB / 1.238 GB, free: 24 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/1.125, allocations: 23.44 kB / 1.238 GB, free: 0 / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/1.125, allocations: 0 / 1.238 GB, free: 0 / 0.9512 GB Notification: Performance of Templates: time 0.009489/1.134, allocations: 4.578 MB / 1.243 GB, free: 11.48 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/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