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.01212/0.01212, allocations: 101 kB / 15.73 MB, free: 6.047 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.00197/0.001971, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.6/1.6, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.166/3.166, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 67.91 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4244, allocations: 157.4 MB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.003248/0.4278, allocations: 0.8295 MB / 1.209 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002759/0.4306, allocations: 1.482 MB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.4307, allocations: 0 / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.4309, allocations: 23.8 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.431, allocations: 35.59 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.4324, allocations: 0.5191 MB / 1.211 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.433, allocations: 499.2 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.4332, allocations: 49.42 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.4334, allocations: 183.7 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.4337, allocations: 175.6 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.974e-05/0.4338, allocations: 43.94 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.4339, allocations: 55.92 kB / 1.212 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.774e-05/0.434, allocations: 39.91 kB / 1.212 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.4343, allocations: 163.5 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.4349, allocations: 410.9 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.4349, allocations: 0 / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.839e-06/0.4349, allocations: 0 / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.4349, allocations: 0 / 1.212 GB, free: 5.16 MB / 0.9669 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.001276/0.4362, allocations: 0.6398 MB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/0.4363, allocations: 20.61 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.4364, allocations: 28.75 kB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.4368, allocations: 265.2 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.4369, allocations: 16.38 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/0.437, allocations: 28.38 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.4373, allocations: 153.1 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4373, allocations: 4.172 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.4373, allocations: 11.92 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4373, allocations: 4 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.4375, allocations: 87.95 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009598/0.4384, allocations: 0.703 MB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.4387, allocations: 175.6 kB / 1.214 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.4388, allocations: 44.83 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.4388, allocations: 8.094 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.439, allocations: 152.4 kB / 1.214 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.439, allocations: 3.938 kB / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0005278/0.4396, allocations: 242.3 kB / 1.215 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.4396, allocations: 55.41 kB / 1.215 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.4398, allocations: 190.7 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.4399, allocations: 41.64 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.44, allocations: 128.5 kB / 1.215 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.44, allocations: 47.44 kB / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.4402, allocations: 109.6 kB / 1.215 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4404, allocations: 322.8 kB / 1.215 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.4407, allocations: 163.9 kB / 1.216 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.4411, allocations: 250.5 kB / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.4416, allocations: 401.3 kB / 1.216 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4416, allocations: 4 kB / 1.216 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001038/0.4427, allocations: 0.6149 MB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.4428, allocations: 164.5 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4428, allocations: 7.938 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.4429, allocations: 4 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.896e-05/0.4429, allocations: 12.27 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.4429, allocations: 11.94 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007191/0.4436, allocations: 131.7 kB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.4437, allocations: 39.97 kB / 1.217 GB, free: 15.49 MB / 0.9825 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.0001837/0.4439, allocations: 155 kB / 1.217 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.4439, allocations: 15.81 kB / 1.217 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.444, allocations: 21.81 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.444, allocations: 4 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.444, allocations: 0 / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.444, allocations: 3.984 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006487/0.4447, allocations: 0.5115 MB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4447, allocations: 0 / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.4447, allocations: 11.94 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4448, allocations: 0 / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.4448, allocations: 3.984 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4448, allocations: 8.062 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4448, allocations: 0 / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.4451, allocations: 285.8 kB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/0.4452, allocations: 96.84 kB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.4452, allocations: 8 kB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.4453, allocations: 3.938 kB / 1.218 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.4454, allocations: 19.97 kB / 1.218 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.4454, allocations: 15.94 kB / 1.218 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.015e-05/0.4455, allocations: 115.2 kB / 1.218 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4455, allocations: 3.938 kB / 1.218 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003768/0.4459, allocations: 87.89 kB / 1.219 GB, free: 14.04 MB / 0.9825 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.0002185/0.4461, allocations: 111.2 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000786/0.4469, allocations: 0.6101 MB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4469, allocations: 0 / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.4471, allocations: 75.91 kB / 1.219 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.4475, allocations: 56.56 kB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.4482, allocations: 312.3 kB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.4486, allocations: 0.7281 MB / 1.22 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.093e-05/0.4487, allocations: 29.52 kB / 1.22 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.4487, allocations: 19.44 kB / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.4487, allocations: 0 / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of Templates: time 0.01052/0.4593, allocations: 4.566 MB / 1.225 GB, free: 7.48 MB / 0.9825 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