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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001313/0.001313, allocations: 108 kB / 16.37 MB, free: 6.477 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.00133/0.001331, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.733/2.733, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.94 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3597, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002033/0.3617, allocations: 0.8422 MB / 1.028 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.3636, allocations: 1.479 MB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.3637, allocations: 0 / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.3638, allocations: 15.8 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.311e-05/0.3639, allocations: 27.72 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.3651, allocations: 0.5205 MB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005637/0.3657, allocations: 0.4992 MB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.3658, allocations: 45.47 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.366, allocations: 179.7 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.3663, allocations: 179.4 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.259e-05/0.3664, allocations: 40 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3665, allocations: 59.92 kB / 1.031 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.691e-05/0.3666, allocations: 43.84 kB / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.3668, allocations: 163.5 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.3673, allocations: 414.9 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3673, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3673, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.3673, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 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.000869/0.3682, allocations: 0.6321 MB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3682, allocations: 12.03 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.3683, allocations: 32.73 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.3688, allocations: 261 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.3688, allocations: 16.38 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.546e-05/0.3689, allocations: 36.36 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.3692, allocations: 149.8 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3692, allocations: 192 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.3693, allocations: 11.92 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3693, allocations: 3.938 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.3694, allocations: 79.95 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008922/0.3703, allocations: 0.7109 MB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.3706, allocations: 171.6 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.364e-05/0.3706, allocations: 40.84 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.3707, allocations: 4 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.371, allocations: 155.2 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.371, allocations: 0 / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0004703/0.3714, allocations: 248.9 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.3715, allocations: 55.41 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.3716, allocations: 178.3 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.3717, allocations: 45.69 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3718, allocations: 128.4 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.3719, allocations: 39.55 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.3721, allocations: 121.6 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3722, allocations: 326.8 kB / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.3725, allocations: 152 kB / 1.035 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.3729, allocations: 247 kB / 1.035 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.3734, allocations: 409.6 kB / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.3734, allocations: 0 / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009726/0.3744, allocations: 0.6148 MB / 1.036 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.3745, allocations: 164.5 kB / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3745, allocations: 7.938 kB / 1.036 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3745, allocations: 4 kB / 1.036 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.513e-05/0.3746, allocations: 11.88 kB / 1.036 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.3746, allocations: 11.97 kB / 1.036 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/0.3753, allocations: 139.8 kB / 1.036 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/0.3754, allocations: 31.98 kB / 1.036 GB, free: 7.922 MB / 0.8106 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.0001788/0.3756, allocations: 163 kB / 1.036 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.3756, allocations: 19.86 kB / 1.036 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/0.3757, allocations: 29.75 kB / 1.036 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3757, allocations: 4 kB / 1.036 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3757, allocations: 0 / 1.036 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3757, allocations: 0 / 1.036 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005862/0.3763, allocations: 0.51 MB / 1.037 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3763, allocations: 0 / 1.037 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.3763, allocations: 7.938 kB / 1.037 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3763, allocations: 0 / 1.037 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.3763, allocations: 11.98 kB / 1.037 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3764, allocations: 0 / 1.037 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3764, allocations: 0 / 1.037 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.3766, allocations: 281.3 kB / 1.037 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.3767, allocations: 92.86 kB / 1.037 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.3767, allocations: 11.98 kB / 1.037 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.3768, allocations: 0 / 1.037 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.3769, allocations: 23.97 kB / 1.037 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.3769, allocations: 12 kB / 1.037 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.001e-05/0.377, allocations: 116.2 kB / 1.037 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.377, allocations: 0 / 1.037 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003731/0.3774, allocations: 79.98 kB / 1.037 GB, free: 6.48 MB / 0.8106 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.0002009/0.3776, allocations: 108.4 kB / 1.038 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006912/0.3783, allocations: 0.626 MB / 1.038 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3783, allocations: 0 / 1.038 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.3784, allocations: 75.91 kB / 1.038 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.3788, allocations: 51.83 kB / 1.038 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.3794, allocations: 334.2 kB / 1.039 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.3797, allocations: 0.7242 MB / 1.039 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.355e-05/0.3798, allocations: 29.52 kB / 1.039 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.3799, allocations: 19.44 kB / 1.039 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of SimCode: time 3.5e-07/0.3799, allocations: 7.938 kB / 1.039 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of Templates: time 0.00824/0.3881, allocations: 4.55 MB / 1.044 GB, free: 15.9 MB / 0.8262 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 -s cvode -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/jenkins1/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