Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001758/0.001758, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00195/0.00195, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.532/1.532, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.892/2.892, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.89 kB / 0.8688 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.769/0.771, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00318/0.7742, allocations: 1.2 MB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.7768, allocations: 1.51 MB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.7769, allocations: 4 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.7771, allocations: 19.8 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.7773, allocations: 39.64 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.7785, allocations: 458.9 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007004/0.7792, allocations: 0.6206 MB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003476/0.7796, allocations: 152.4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.7799, allocations: 231.4 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.7801, allocations: 187.3 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.373e-05/0.7802, allocations: 60 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.7804, allocations: 71.98 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.7805, allocations: 83.69 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.7808, allocations: 227.1 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007136/0.7815, allocations: 0.6135 MB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7815, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.365e-06/0.7815, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.7815, allocations: 0 / 1.022 GB, free: 13.28 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001163/0.7827, allocations: 0.7433 MB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7827, allocations: 11.97 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.7829, allocations: 48.47 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.784, allocations: 400 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.784, allocations: 28.8 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.7841, allocations: 36.38 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.7846, allocations: 247.8 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.7846, allocations: 3.938 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.7847, allocations: 12 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.7847, allocations: 8 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.785, allocations: 157.6 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.7864, allocations: 0.8568 MB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.7867, allocations: 218.7 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.787, allocations: 200.8 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.787, allocations: 4 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003904/0.7874, allocations: 249.7 kB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.763e-06/0.7875, allocations: 0 / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0007784/0.7882, allocations: 431.7 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.7884, allocations: 122.7 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.7887, allocations: 324.2 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.014e-05/0.7888, allocations: 41.7 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.789, allocations: 180.5 kB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.7891, allocations: 63.25 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.7893, allocations: 142 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.7895, allocations: 342.8 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.7899, allocations: 212.7 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/0.7904, allocations: 321 kB / 1.027 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/0.7911, allocations: 0.5311 MB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7911, allocations: 0 / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001252/0.7924, allocations: 0.7399 MB / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.7925, allocations: 122.8 kB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.7925, allocations: 7.938 kB / 1.029 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.7925, allocations: 4 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.7928, allocations: 55.91 kB / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.7928, allocations: 15.86 kB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.7935, allocations: 143.8 kB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.7936, allocations: 63.92 kB / 1.029 GB, free: 5.836 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,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.00026/0.7939, allocations: 190.2 kB / 1.029 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.7939, allocations: 27.62 kB / 1.029 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006154/0.7945, allocations: 373.4 kB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.7946, allocations: 4 kB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.7946, allocations: 3.938 kB / 1.03 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7946, allocations: 0 / 1.03 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.7956, allocations: 0.748 MB / 1.03 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.7956, allocations: 4 kB / 1.03 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.7957, allocations: 43.84 kB / 1.03 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.7958, allocations: 0 / 1.03 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.7958, allocations: 8 kB / 1.03 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.7958, allocations: 7.938 kB / 1.03 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7958, allocations: 0 / 1.03 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.7963, allocations: 427.5 kB / 1.031 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.7964, allocations: 116.5 kB / 1.031 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.7965, allocations: 15.98 kB / 1.031 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.7966, allocations: 8 kB / 1.031 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.7967, allocations: 23.97 kB / 1.031 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.7967, allocations: 8 kB / 1.031 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002319/0.7969, allocations: 219 kB / 1.031 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7969, allocations: 0 / 1.031 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004016/0.7973, allocations: 92 kB / 1.031 GB, free: 3.445 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 (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.0002265/0.7976, allocations: 129.4 kB / 1.031 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.7986, allocations: 0.7004 MB / 1.032 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7986, allocations: 0 / 1.032 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.7989, allocations: 147.8 kB / 1.032 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.7994, allocations: 94.02 kB / 1.032 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.8005, allocations: 0.6418 MB / 1.033 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.8009, allocations: 0.7808 MB / 1.034 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001846/0.8011, allocations: 79.2 kB / 1.034 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.8012, allocations: 31.44 kB / 1.034 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8012, allocations: 0 / 1.034 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of Templates: time 0.01153/0.8127, allocations: 5.466 MB / 1.039 GB, free: 11.35 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches