Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 91.3 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.01085/0.01085, allocations: 171.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.488/1.488, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.54/2.54, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004631, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9489/0.9494, allocations: 142.4 MB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001358/0.9508, allocations: 0.8453 MB / 0.9559 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002084/0.9529, allocations: 1.561 MB / 0.9574 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.9531, allocations: 2.25 kB / 0.9574 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.9532, allocations: 20.89 kB / 0.9574 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.9534, allocations: 48.66 kB / 0.9575 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.9545, allocations: 460.3 kB / 0.9579 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.955, allocations: 0.5104 MB / 0.9584 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.9553, allocations: 140.3 kB / 0.9585 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.9556, allocations: 175.4 kB / 0.9587 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.9558, allocations: 157 kB / 0.9589 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-05/0.9559, allocations: 20.69 kB / 0.9589 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.9561, allocations: 30.7 kB / 0.9589 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.077e-05/0.9562, allocations: 51.12 kB / 0.959 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.9564, allocations: 206.7 kB / 0.9592 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.9569, allocations: 0.5695 MB / 0.9597 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9569, allocations: 0 / 0.9597 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9569, allocations: 0 / 0.9597 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.966e-05/0.9569, allocations: 0 / 0.9597 GB, free: 4.23 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000845/0.9578, allocations: 0.6534 MB / 0.9603 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.9578, allocations: 8.25 kB / 0.9604 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.958, allocations: 48.05 kB / 0.9604 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.959, allocations: 409.6 kB / 0.9608 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.9591, allocations: 28.34 kB / 0.9608 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.9592, allocations: 47.78 kB / 0.9609 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.9596, allocations: 251.9 kB / 0.9611 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.9597, allocations: 0 / 0.9611 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.9597, allocations: 11.12 kB / 0.9611 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.9597, allocations: 5.531 kB / 0.9611 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.96, allocations: 154.8 kB / 0.9613 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.9613, allocations: 0.8488 MB / 0.9621 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.9616, allocations: 225.7 kB / 0.9623 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.9619, allocations: 212.5 kB / 0.9625 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.9619, allocations: 2 kB / 0.9625 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003203/0.9622, allocations: 244.8 kB / 0.9627 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.9623, allocations: 1.094 kB / 0.9627 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0007241/0.963, allocations: 433 kB / 0.9632 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.963, allocations: 115.9 kB / 0.9633 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.9634, allocations: 327.7 kB / 0.9636 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.364e-05/0.9634, allocations: 41.73 kB / 0.9636 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.9636, allocations: 178.5 kB / 0.9638 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.9636, allocations: 58.39 kB / 0.9638 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.9637, allocations: 72.89 kB / 0.9639 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.9638, allocations: 337.9 kB / 0.9642 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.9642, allocations: 211.9 kB / 0.9644 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.9646, allocations: 333.6 kB / 0.9648 GB, free: 396 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/0.9652, allocations: 0.5304 MB / 0.9653 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.9652, allocations: 0.9688 kB / 0.9653 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001286/0.9665, allocations: 0.7323 MB / 0.966 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.9667, allocations: 132.7 kB / 0.9661 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.9667, allocations: 7 kB / 0.9661 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.9667, allocations: 9.062 kB / 0.9661 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.9669, allocations: 54.84 kB / 0.9662 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.967, allocations: 5.25 kB / 0.9662 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008171/0.9678, allocations: 178.2 kB / 0.9664 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.9679, allocations: 71.88 kB / 0.9664 GB, free: 15.29 MB / 0.7325 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,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.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.0002726/0.9682, allocations: 185.2 kB / 0.9666 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.9683, allocations: 38.78 kB / 0.9666 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006133/0.9689, allocations: 367.2 kB / 0.967 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.9689, allocations: 3.5 kB / 0.967 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.9689, allocations: 0.9688 kB / 0.967 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.9689, allocations: 4 kB / 0.967 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.97, allocations: 0.7604 MB / 0.9677 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.97, allocations: 0.8125 kB / 0.9677 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.9702, allocations: 39.52 kB / 0.9678 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.9702, allocations: 6.25 kB / 0.9678 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.9702, allocations: 5.969 kB / 0.9678 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.9702, allocations: 2.188 kB / 0.9678 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9702, allocations: 0 / 0.9678 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.9708, allocations: 429.5 kB / 0.9682 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.9709, allocations: 113.3 kB / 0.9683 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.971, allocations: 7 kB / 0.9683 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.9711, allocations: 11.95 kB / 0.9683 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.9712, allocations: 25.28 kB / 0.9684 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.9712, allocations: 8.812 kB / 0.9684 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002503/0.9715, allocations: 213.1 kB / 0.9686 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9715, allocations: 0 / 0.9686 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004787/0.9719, allocations: 93.94 kB / 0.9687 GB, free: 13.77 MB / 0.7325 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 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.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.0002016/0.9722, allocations: 129.9 kB / 0.9688 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.9732, allocations: 0.6781 MB / 0.9694 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.9732, allocations: 0 / 0.9694 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.9734, allocations: 148.8 kB / 0.9696 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.9741, allocations: 85.39 kB / 0.9697 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.9751, allocations: 0.6463 MB / 0.9703 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.9756, allocations: 0.7841 MB / 0.9711 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002152/0.9758, allocations: 70.11 kB / 0.9711 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.9759, allocations: 35.86 kB / 0.9712 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of SimCode: time 4.6e-07/0.9759, allocations: 0 / 0.9712 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of Templates: time 0.01262/0.9885, allocations: 5.225 MB / 0.9763 GB, free: 9.043 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches