Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002306/0.002306, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.555/1.555, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.752/2.752, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 67.91 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.767/0.7686, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002833/0.7715, allocations: 1.084 MB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002057/0.7736, allocations: 1.522 MB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.7737, allocations: 0 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.7739, allocations: 19.8 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.7741, allocations: 35.7 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.7752, allocations: 422.8 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000496/0.7757, allocations: 455.8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.776, allocations: 131.7 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.7763, allocations: 175.6 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.7765, allocations: 159.4 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.7766, allocations: 27.94 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.7768, allocations: 43.97 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.7769, allocations: 55.83 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.7772, allocations: 171.2 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.7778, allocations: 496.5 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7778, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.654e-06/0.7778, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.903e-05/0.7778, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.00127/0.7791, allocations: 0.6928 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.7792, allocations: 11.97 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.7794, allocations: 36.66 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.7805, allocations: 372 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.7807, allocations: 24.75 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.7808, allocations: 32.38 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.7812, allocations: 236.8 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.7813, allocations: 3.938 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.7813, allocations: 8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.7813, allocations: 12 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.7816, allocations: 139.3 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.7831, allocations: 0.777 MB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.7834, allocations: 178.4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.7837, allocations: 215.4 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.7837, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.784, allocations: 236.5 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.242e-06/0.7841, allocations: 0 / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0006974/0.7848, allocations: 431.6 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.7848, allocations: 114.8 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.7852, allocations: 286.4 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.816e-05/0.7852, allocations: 37.7 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.7854, allocations: 164.7 kB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.092e-05/0.7855, allocations: 63.25 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.7857, allocations: 141.5 kB / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.7859, allocations: 342.8 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/0.7863, allocations: 200.7 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.7868, allocations: 323.9 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.7875, allocations: 0.5193 MB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.7875, allocations: 0 / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001176/0.7887, allocations: 0.7133 MB / 1.027 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.767e-05/0.7888, allocations: 127.2 kB / 1.027 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.7888, allocations: 7.984 kB / 1.027 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.7889, allocations: 8 kB / 1.027 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.789, allocations: 27.86 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.789, allocations: 7.984 kB / 1.028 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000639/0.7896, allocations: 131.4 kB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.7898, allocations: 67.86 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002847/0.7901, allocations: 189.7 kB / 1.028 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.7902, allocations: 27.62 kB / 1.028 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.7907, allocations: 364.5 kB / 1.028 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.7907, allocations: 4 kB / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.7908, allocations: 0 / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.7908, allocations: 0 / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008874/0.7917, allocations: 0.7167 MB / 1.029 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7917, allocations: 4 kB / 1.029 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.7917, allocations: 23.86 kB / 1.029 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.7918, allocations: 0 / 1.029 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.7918, allocations: 12 kB / 1.029 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.7918, allocations: 3.938 kB / 1.029 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7918, allocations: 0 / 1.029 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/0.7923, allocations: 415.6 kB / 1.029 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.7923, allocations: 108.7 kB / 1.03 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.7924, allocations: 15.91 kB / 1.03 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.7925, allocations: 15.92 kB / 1.03 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.7926, allocations: 19.97 kB / 1.03 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.7926, allocations: 12 kB / 1.03 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001832/0.7928, allocations: 194 kB / 1.03 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7928, allocations: 0 / 1.03 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004263/0.7932, allocations: 80 kB / 1.03 GB, free: 4.711 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001947/0.7934, allocations: 125.4 kB / 1.03 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009695/0.7944, allocations: 0.6613 MB / 1.031 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7944, allocations: 0 / 1.031 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.7947, allocations: 139.8 kB / 1.031 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.7951, allocations: 61.33 kB / 1.031 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.7961, allocations: 0.5655 MB / 1.031 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.7965, allocations: 0.769 MB / 1.032 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.7966, allocations: 70.91 kB / 1.032 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.7967, allocations: 35.42 kB / 1.032 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.7967, allocations: 0 / 1.032 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of Templates: time 0.009872/0.8066, allocations: 4.755 MB / 1.037 GB, free: 13.48 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches