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.0018/0.0018, allocations: 112.6 kB / 16.37 MB, free: 6 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.001766/0.001766, allocations: 196 kB / 17.31 MB, free: 5.613 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.446/1.446, 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.544/2.544, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 68.69 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.319, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002325/0.3214, allocations: 0.8395 MB / 1.028 GB, free: 1.242 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.3233, allocations: 1.471 MB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.3234, allocations: 0 / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.3235, allocations: 23.8 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.3236, allocations: 39.64 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.3248, allocations: 0.5168 MB / 1.03 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006016/0.3254, allocations: 0.5031 MB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.3256, allocations: 37.48 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.3258, allocations: 187.7 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.3261, allocations: 171.5 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.874e-05/0.3261, allocations: 44 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.3263, allocations: 51.98 kB / 1.031 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.3264, allocations: 59.77 kB / 1.031 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.3265, allocations: 155.5 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.327, allocations: 410.9 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.327, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.264e-06/0.327, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.327, allocations: 0 / 1.031 GB, free: 13.59 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.000822/0.3279, allocations: 0.6399 MB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3279, allocations: 12.03 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.806e-05/0.328, allocations: 32.73 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.3284, allocations: 261 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.3284, allocations: 16.38 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.637e-05/0.3285, allocations: 32.38 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.3287, allocations: 149.8 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3288, allocations: 192 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.3288, allocations: 15.92 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3288, allocations: 4 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.3289, allocations: 83.95 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008665/0.3298, allocations: 0.6992 MB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.33, allocations: 167.6 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.785e-05/0.3301, allocations: 52.83 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.3301, allocations: 4 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.3304, allocations: 157 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.3305, allocations: 0 / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0004547/0.3309, allocations: 243.2 kB / 1.034 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.331, allocations: 55.41 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3311, allocations: 182.2 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.3312, allocations: 41.7 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3313, allocations: 132.4 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.3313, allocations: 35.56 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.3315, allocations: 113.6 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3317, allocations: 326.8 kB / 1.034 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.332, allocations: 155.9 kB / 1.035 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.3323, allocations: 242.1 kB / 1.035 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.3328, allocations: 413.6 kB / 1.035 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3328, allocations: 4 kB / 1.035 GB, free: 9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009337/0.3337, allocations: 0.6109 MB / 1.036 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.3339, allocations: 168.5 kB / 1.036 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3339, allocations: 11.88 kB / 1.036 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.3339, allocations: 4.094 kB / 1.036 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.599e-05/0.3339, allocations: 16.22 kB / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.334, allocations: 15.92 kB / 1.036 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007092/0.3347, allocations: 131.7 kB / 1.036 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/0.3348, allocations: 31.98 kB / 1.036 GB, free: 7.949 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.0001923/0.335, allocations: 166.9 kB / 1.036 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.335, allocations: 15.81 kB / 1.036 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.507e-05/0.335, allocations: 17.81 kB / 1.036 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.335, allocations: 4 kB / 1.036 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3351, allocations: 0 / 1.036 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3351, allocations: 3.984 kB / 1.036 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005921/0.3357, allocations: 0.5061 MB / 1.037 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3357, allocations: 0 / 1.037 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.3357, allocations: 11.94 kB / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3357, allocations: 0 / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3357, allocations: 7.984 kB / 1.037 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.3357, allocations: 0 / 1.037 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3357, allocations: 0 / 1.037 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.3361, allocations: 281.6 kB / 1.037 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.3361, allocations: 104.8 kB / 1.037 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.3362, allocations: 4 kB / 1.037 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.3362, allocations: 4 kB / 1.037 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.3363, allocations: 23.91 kB / 1.037 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.3363, allocations: 12 kB / 1.037 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.777e-05/0.3364, allocations: 120.2 kB / 1.037 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3364, allocations: 0 / 1.037 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000364/0.3368, allocations: 75.98 kB / 1.037 GB, free: 6.512 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.0001935/0.337, allocations: 113 kB / 1.038 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007352/0.3377, allocations: 0.6203 MB / 1.038 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3378, allocations: 0 / 1.038 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.3379, allocations: 79.91 kB / 1.038 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.3383, allocations: 56.52 kB / 1.038 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/0.339, allocations: 322.2 kB / 1.039 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.3393, allocations: 0.732 MB / 1.039 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.168e-05/0.3394, allocations: 25.53 kB / 1.039 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.3394, allocations: 19.44 kB / 1.039 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3394, allocations: 3.938 kB / 1.039 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of Templates: time 0.01036/0.3498, allocations: 4.561 MB / 1.044 GB, free: 15.92 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 gbode -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