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.00172/0.00172, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002104/0.002104, allocations: 196.6 kB / 16.14 MB, free: 6.711 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 66.28 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3378, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002253/0.3401, allocations: 0.8829 MB / 1.053 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3421, allocations: 1.549 MB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.3422, allocations: 7.938 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.3423, allocations: 11.92 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.501e-05/0.3424, allocations: 31.77 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3435, allocations: 488.8 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.3439, allocations: 419.1 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.3441, allocations: 45.48 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.3442, allocations: 163.7 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.3444, allocations: 139.6 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.3445, allocations: 24 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.3446, allocations: 35.98 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.3447, allocations: 43.84 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.3449, allocations: 143.5 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.3453, allocations: 379.2 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3453, allocations: 8 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.51e-07/0.3453, allocations: 0 / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3453, allocations: 0 / 1.056 GB, free: 4.508 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.0008607/0.3462, allocations: 0.6527 MB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3462, allocations: 8.031 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.912e-05/0.3463, allocations: 28.75 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.3467, allocations: 252.6 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3467, allocations: 28.28 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.3468, allocations: 28.38 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.347, allocations: 157.4 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3471, allocations: 192 / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.3471, allocations: 3.938 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3471, allocations: 4 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.3472, allocations: 83.94 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008149/0.3481, allocations: 0.7148 MB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.3483, allocations: 167.7 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.075e-05/0.3484, allocations: 44.88 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.3484, allocations: 8 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.3486, allocations: 151.3 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.3486, allocations: 4 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0004484/0.3491, allocations: 244.4 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.3491, allocations: 55.41 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3493, allocations: 186.2 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.3493, allocations: 41.7 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.3494, allocations: 128.5 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.3495, allocations: 39.45 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.3497, allocations: 117.6 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3498, allocations: 326.8 kB / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.3501, allocations: 155.9 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.3505, allocations: 244.4 kB / 1.06 GB, free: 384 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/0.3511, allocations: 411.9 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3511, allocations: 8 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009893/0.3521, allocations: 0.6091 MB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.3522, allocations: 168.5 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3522, allocations: 7.938 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.3522, allocations: 4 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-05/0.3523, allocations: 8.281 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3523, allocations: 8 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008122/0.3531, allocations: 139.6 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/0.3532, allocations: 39.97 kB / 1.061 GB, free: 14.86 MB / 0.8262 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.0001731/0.3534, allocations: 159 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.3534, allocations: 15.81 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.3534, allocations: 25.8 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3534, allocations: 4 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3535, allocations: 0 / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3535, allocations: 0 / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.354, allocations: 0.5099 MB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.354, allocations: 0 / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.3541, allocations: 11.92 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3541, allocations: 0 / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3541, allocations: 4 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3541, allocations: 4 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3541, allocations: 0 / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.3544, allocations: 288.5 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.3545, allocations: 92.86 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3545, allocations: 4 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.3546, allocations: 7.984 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.3546, allocations: 19.98 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3547, allocations: 11.98 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.072e-05/0.3548, allocations: 116.2 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3548, allocations: 0 / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003669/0.3551, allocations: 76 kB / 1.063 GB, free: 13.43 MB / 0.8262 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.0001838/0.3553, allocations: 123.3 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007496/0.3561, allocations: 0.6178 MB / 1.063 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3561, allocations: 0 / 1.063 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.3562, allocations: 77.45 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.3566, allocations: 54.14 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005885/0.3572, allocations: 358.1 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.3575, allocations: 0.7284 MB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.833e-05/0.3576, allocations: 25.53 kB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.3577, allocations: 23.42 kB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3577, allocations: 0 / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of Templates: time 0.007935/0.3656, allocations: 4.333 MB / 1.069 GB, free: 7.035 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 -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