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.008628/0.008628, allocations: 99.83 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.001962/0.001963, allocations: 193.5 kB / 16.67 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.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.565/2.565, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 71.89 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149/1.15, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002247/1.152, allocations: 0.8312 MB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00205/1.154, allocations: 1.489 MB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/1.155, allocations: 0 / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/1.155, allocations: 15.75 kB / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/1.155, allocations: 43.69 kB / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/1.156, allocations: 0.5141 MB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007103/1.157, allocations: 0.4953 MB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/1.157, allocations: 37.42 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/1.157, allocations: 191.6 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/1.158, allocations: 171.5 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/1.158, allocations: 40.05 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/1.158, allocations: 59.92 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/1.158, allocations: 35.92 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/1.158, allocations: 167.5 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005102/1.159, allocations: 403.3 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.159, allocations: 0 / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.573e-06/1.159, allocations: 4 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.037e-05/1.159, allocations: 0 / 1.171 GB, free: 15.32 MB / 0.9044 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.0008725/1.16, allocations: 0.6573 MB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/1.16, allocations: 8.922 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/1.16, allocations: 28.84 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/1.16, allocations: 264 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/1.16, allocations: 20.36 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/1.16, allocations: 32.38 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/1.161, allocations: 159.7 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/1.161, allocations: 192 / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/1.161, allocations: 7.938 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/1.161, allocations: 4 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/1.161, allocations: 83.94 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000905/1.162, allocations: 0.7032 MB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/1.162, allocations: 179.6 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/1.162, allocations: 40.84 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/1.162, allocations: 0 / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/1.162, allocations: 159.4 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 1.903e-06/1.162, allocations: 4 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.0004614/1.163, allocations: 247.6 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/1.163, allocations: 63.28 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/1.163, allocations: 174.3 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/1.163, allocations: 41.7 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/1.163, allocations: 124.6 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/1.163, allocations: 43.67 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/1.164, allocations: 117.6 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.164, allocations: 330.8 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/1.164, allocations: 159.9 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/1.164, allocations: 238.7 kB / 1.175 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/1.165, allocations: 406.1 kB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.165, allocations: 4 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001/1.166, allocations: 0.6131 MB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/1.166, allocations: 172.5 kB / 1.176 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.166, allocations: 15.98 kB / 1.176 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/1.166, allocations: 4 kB / 1.176 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.49e-05/1.166, allocations: 4 kB / 1.176 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/1.166, allocations: 11.92 kB / 1.176 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007522/1.167, allocations: 135.7 kB / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/1.167, allocations: 35.97 kB / 1.176 GB, free: 9.652 MB / 0.9044 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.0001792/1.167, allocations: 155 kB / 1.176 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/1.167, allocations: 19.86 kB / 1.176 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/1.167, allocations: 29.8 kB / 1.176 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/1.167, allocations: 0 / 1.176 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.167, allocations: 0 / 1.176 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.167, allocations: 0 / 1.176 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/1.168, allocations: 0.4984 MB / 1.177 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.168, allocations: 0 / 1.177 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/1.168, allocations: 11.92 kB / 1.177 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.168, allocations: 0 / 1.177 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/1.168, allocations: 8 kB / 1.177 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.168, allocations: 0 / 1.177 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.168, allocations: 4 kB / 1.177 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/1.168, allocations: 289.2 kB / 1.177 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/1.168, allocations: 96.89 kB / 1.177 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/1.168, allocations: 0 / 1.177 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.209e-05/1.168, allocations: 7.984 kB / 1.177 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/1.169, allocations: 23.92 kB / 1.177 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/1.169, allocations: 11.98 kB / 1.177 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.768e-05/1.169, allocations: 124.2 kB / 1.177 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.169, allocations: 0 / 1.177 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004023/1.169, allocations: 79.95 kB / 1.177 GB, free: 8.207 MB / 0.9044 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.0001665/1.169, allocations: 112.4 kB / 1.178 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007735/1.17, allocations: 0.6261 MB / 1.178 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.17, allocations: 8.125 kB / 1.178 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/1.17, allocations: 75.91 kB / 1.178 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/1.171, allocations: 58.23 kB / 1.178 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/1.171, allocations: 323.9 kB / 1.179 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/1.172, allocations: 0.732 MB / 1.179 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.742e-05/1.172, allocations: 21.55 kB / 1.179 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/1.172, allocations: 23.42 kB / 1.179 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of SimCode: time 3.6e-07/1.172, allocations: 0 / 1.179 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of Templates: time 0.01191/1.184, allocations: 4.58 MB / 1.184 GB, free: 1.602 MB / 0.9044 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