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.0007713/0.0007715, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006324/0.006324, allocations: 172.7 kB / 16.26 MB, free: 6.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.571/1.571, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.027/3.027, allocations: 462.6 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004064, allocations: 14.59 kB / 0.9028 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4375, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00167/0.4392, allocations: 0.544 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002727/0.4419, allocations: 1.541 MB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/0.442, allocations: 3.938 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.4422, allocations: 7.938 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.203e-05/0.4423, allocations: 23.78 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.4439, allocations: 498.2 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.4445, allocations: 423.1 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.4447, allocations: 41.48 kB / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.4449, allocations: 159.7 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.4452, allocations: 131.6 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.13e-05/0.4453, allocations: 24 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.4454, allocations: 35.92 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.448e-05/0.4455, allocations: 39.86 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003499/0.4459, allocations: 161.2 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006433/0.4465, allocations: 387.1 kB / 1.063 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4466, allocations: 0 / 1.063 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4466, allocations: 0 / 1.063 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4466, allocations: 0 / 1.063 GB, free: 1.516 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.001101/0.4477, allocations: 0.5669 MB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.4478, allocations: 12.03 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.4479, allocations: 32.73 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/0.4485, allocations: 268.4 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.4485, allocations: 20.38 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.396e-05/0.4486, allocations: 28.38 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.449, allocations: 145.4 kB / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.449, allocations: 192 / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.4491, allocations: 19.92 kB / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.4491, allocations: 0 / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.4493, allocations: 83.89 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.4505, allocations: 0.7071 MB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.451, allocations: 171.7 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.4511, allocations: 48.83 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.4511, allocations: 0 / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003335/0.4515, allocations: 151.3 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.914e-06/0.4515, allocations: 0 / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006048/0.4521, allocations: 246.9 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.4521, allocations: 59.34 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.4524, allocations: 182.2 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.549e-05/0.4525, allocations: 37.7 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.4527, allocations: 132.4 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.4528, allocations: 43.53 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.4529, allocations: 49.7 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0003871/0.4533, allocations: 330.8 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.4538, allocations: 151.9 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.4543, allocations: 240.5 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007068/0.455, allocations: 411.8 kB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.455, allocations: 0 / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001404/0.4564, allocations: 0.6168 MB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.4566, allocations: 160.5 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.4566, allocations: 8.281 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.4567, allocations: 8.094 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.272e-05/0.4567, allocations: 15.86 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.4568, allocations: 4 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.458, allocations: 201.7 kB / 1.068 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.065e-05/0.4581, allocations: 31.97 kB / 1.068 GB, free: 11.96 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.0003854/0.4585, allocations: 163 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.4586, allocations: 15.81 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.252e-05/0.4587, allocations: 21.81 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.4587, allocations: 4 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4587, allocations: 0 / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.4587, allocations: 3.984 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009844/0.4597, allocations: 0.5118 MB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4597, allocations: 4 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.4597, allocations: 4 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4598, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.4598, allocations: 7.984 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4598, allocations: 4 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4598, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.4602, allocations: 284.2 kB / 1.069 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.4603, allocations: 96.84 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.4604, allocations: 16.06 kB / 1.069 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-05/0.4605, allocations: 4 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.4606, allocations: 19.97 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.4606, allocations: 8 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001142/0.4607, allocations: 120.2 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4607, allocations: 0 / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000556/0.4613, allocations: 80 kB / 1.069 GB, free: 10.51 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.0002533/0.4615, allocations: 115.3 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.4629, allocations: 0.614 MB / 1.07 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.463, allocations: 0 / 1.07 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.4631, allocations: 81.44 kB / 1.07 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.4637, allocations: 52.58 kB / 1.07 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.4647, allocations: 372.8 kB / 1.07 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006023/0.4653, allocations: 0.7283 MB / 1.071 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001336/0.4654, allocations: 25.55 kB / 1.071 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.4655, allocations: 23.42 kB / 1.071 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4655, allocations: 0 / 1.071 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of Templates: time 0.01124/0.4767, allocations: 4.319 MB / 1.075 GB, free: 4.133 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