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.00156/0.00156, allocations: 112.1 kB / 16.42 MB, free: 6.453 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.001756/0.001756, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.398/1.398, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.662/2.662, allocations: 461.7 MB / 0.7352 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001378, allocations: 67.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146/1.147, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002377/1.15, allocations: 0.8216 MB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002232/1.152, allocations: 1.482 MB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/1.152, allocations: 0 / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/1.152, allocations: 19.8 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.986e-05/1.152, allocations: 31.66 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001479/1.154, allocations: 0.5229 MB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007311/1.154, allocations: 0.4953 MB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/1.155, allocations: 53.42 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/1.155, allocations: 175.8 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/1.155, allocations: 183.4 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/1.156, allocations: 40 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/1.156, allocations: 56 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/1.156, allocations: 43.84 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002507/1.156, allocations: 159.5 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005595/1.157, allocations: 410.7 kB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.157, allocations: 0 / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.104e-06/1.157, allocations: 0 / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.28e-05/1.157, allocations: 0 / 1.213 GB, free: 9.18 MB / 0.9356 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.001042/1.158, allocations: 0.6456 MB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.158, allocations: 12.03 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/1.158, allocations: 28.75 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/1.158, allocations: 269.2 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/1.158, allocations: 16.38 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.338e-05/1.158, allocations: 32.36 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/1.159, allocations: 151.8 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.159, allocations: 192 / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/1.159, allocations: 3.938 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/1.159, allocations: 4 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/1.159, allocations: 83.89 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009606/1.16, allocations: 0.707 MB / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/1.16, allocations: 167.7 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.446e-05/1.16, allocations: 44.83 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/1.16, allocations: 4.188 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/1.161, allocations: 165.1 kB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/1.161, allocations: 0 / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.00049/1.161, allocations: 243.7 kB / 1.215 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/1.161, allocations: 59.39 kB / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/1.161, allocations: 186.7 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/1.161, allocations: 37.7 kB / 1.215 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/1.161, allocations: 136.5 kB / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/1.162, allocations: 43.44 kB / 1.216 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/1.162, allocations: 113.6 kB / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.162, allocations: 326.8 kB / 1.216 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/1.162, allocations: 163.8 kB / 1.216 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/1.163, allocations: 246.9 kB / 1.216 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/1.163, allocations: 406.3 kB / 1.217 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.163, allocations: 0 / 1.217 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001026/1.164, allocations: 0.6186 MB / 1.217 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/1.164, allocations: 164.5 kB / 1.217 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.164, allocations: 4 kB / 1.217 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/1.164, allocations: 7.938 kB / 1.218 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.796e-05/1.164, allocations: 11.92 kB / 1.218 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/1.164, allocations: 4 kB / 1.218 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/1.165, allocations: 136 kB / 1.218 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/1.165, allocations: 35.97 kB / 1.218 GB, free: 3.523 MB / 0.9356 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.0001874/1.165, allocations: 155.1 kB / 1.218 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/1.165, allocations: 15.81 kB / 1.218 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/1.165, allocations: 25.81 kB / 1.218 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.166, allocations: 3.984 kB / 1.218 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.166, allocations: 0 / 1.218 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/1.166, allocations: 92.86 kB / 1.218 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/1.166, allocations: 4 kB / 1.218 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/1.166, allocations: 7.984 kB / 1.218 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/1.166, allocations: 19.98 kB / 1.218 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003045/1.166, allocations: 264.8 kB / 1.218 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003413/1.166, allocations: 360.4 kB / 1.219 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001024/1.166, allocations: 71.95 kB / 1.219 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.025e-05/1.167, allocations: 119.2 kB / 1.219 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of Backend: time 6.81e-07/1.167, allocations: 0 / 1.219 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001075/1.168, allocations: 0.6577 MB / 1.219 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0009352/1.169, allocations: 0.7628 MB / 1.22 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of Templates: time 0.009847/1.178, allocations: 4.631 MB / 1.225 GB, free: 12.25 MB / 0.9512 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/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