Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009184/0.009184, allocations: 107 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001153/0.001153, allocations: 175.4 kB / 15.94 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.052/2.052, allocations: 194.5 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.204/2.204, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 12 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6122/0.6127, allocations: 98.71 MB / 0.6833 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001691/0.6145, allocations: 1.312 MB / 0.6846 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005794/0.6151, allocations: 261.3 kB / 0.6849 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.6152, allocations: 4.938 kB / 0.6849 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 9.001e-05/0.6153, allocations: 8.438 kB / 0.6849 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.197e-05/0.6154, allocations: 30.41 kB / 0.6849 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.6156, allocations: 54.09 kB / 0.685 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.6159, allocations: 141.2 kB / 0.6851 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.616, allocations: 50.98 kB / 0.6851 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.6162, allocations: 76.55 kB / 0.6852 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.6164, allocations: 103.6 kB / 0.6853 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.6164, allocations: 10.38 kB / 0.6853 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 3.966e-05/0.6165, allocations: 9.281 kB / 0.6853 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.332e-05/0.6166, allocations: 58.61 kB / 0.6854 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.36e-05/0.6166, allocations: 54.5 kB / 0.6854 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.6169, allocations: 171.5 kB / 0.6856 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.88e-06/0.6169, allocations: 0 / 0.6856 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.046e-06/0.6169, allocations: 0 / 0.6856 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.299e-06/0.6169, allocations: 0 / 0.6856 GB, free: 15.18 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001257/0.6182, allocations: 0.5367 MB / 0.6861 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.6183, allocations: 14.5 kB / 0.6861 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.605e-05/0.6184, allocations: 26.62 kB / 0.6862 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.6187, allocations: 233.6 kB / 0.6864 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/0.6187, allocations: 14.67 kB / 0.6864 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.6188, allocations: 21.38 kB / 0.6864 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6199, allocations: 302.7 kB / 0.6867 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6199, allocations: 0.9375 kB / 0.6867 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.6199, allocations: 10.98 kB / 0.6867 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.224e-06/0.62, allocations: 7.656 kB / 0.6867 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.6215, allocations: 350 kB / 0.6871 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.6234, allocations: 0.6854 MB / 0.6877 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.6246, allocations: 319.9 kB / 0.688 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.6246, allocations: 3 kB / 0.688 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.6256, allocations: 323.7 kB / 0.6884 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 4.584e-06/0.6257, allocations: 1.156 kB / 0.6884 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.004123/0.6298, allocations: 0.6806 MB / 0.689 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.6299, allocations: 56.95 kB / 0.6891 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.6303, allocations: 191.1 kB / 0.6893 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.961e-05/0.6305, allocations: 32.78 kB / 0.6893 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.6306, allocations: 126.8 kB / 0.6894 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.6308, allocations: 67.08 kB / 0.6895 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.6308, allocations: 5.375 kB / 0.6895 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6309, allocations: 335 kB / 0.6898 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.6321, allocations: 197.4 kB / 0.69 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.6333, allocations: 199.4 kB / 0.6902 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.6346, allocations: 188.8 kB / 0.6904 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/0.6347, allocations: 0 / 0.6904 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002674/0.6374, allocations: 471 kB / 0.6908 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.6374, allocations: 7.891 kB / 0.6908 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.6375, allocations: 0 / 0.6908 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.6375, allocations: 1.062 kB / 0.6908 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.6385, allocations: 97.08 kB / 0.6909 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.6386, allocations: 1.094 kB / 0.6909 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007181/0.6393, allocations: 64.59 kB / 0.691 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/0.6394, allocations: 11.12 kB / 0.691 GB, free: 12.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003612/0.6398, allocations: 163.2 kB / 0.6911 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.6399, allocations: 20.97 kB / 0.6912 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.11e-05/0.64, allocations: 25.31 kB / 0.6912 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.6401, allocations: 3.516 kB / 0.6912 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.673e-06/0.6401, allocations: 0 / 0.6912 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.451e-06/0.6401, allocations: 1.312 kB / 0.6912 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003623/0.6437, allocations: 0.8727 MB / 0.692 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.6438, allocations: 0 / 0.692 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007232/0.6446, allocations: 66.84 kB / 0.6921 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.6446, allocations: 1.406 kB / 0.6921 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/0.6447, allocations: 4.781 kB / 0.6921 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.6447, allocations: 6.453 kB / 0.6921 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.228e-06/0.6447, allocations: 0.9375 kB / 0.6921 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/0.6479, allocations: 0.6038 MB / 0.6927 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.6481, allocations: 103.3 kB / 0.6928 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.6482, allocations: 8.156 kB / 0.6928 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008146/0.6491, allocations: 60.19 kB / 0.6929 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.6494, allocations: 46.53 kB / 0.6929 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.299e-05/0.6495, allocations: 12.05 kB / 0.6929 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002216/0.6497, allocations: 134.9 kB / 0.6931 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.211e-06/0.6498, allocations: 0 / 0.6931 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008312/0.6506, allocations: 56.19 kB / 0.6931 GB, free: 11.34 MB / 0.5261 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 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002405/0.6509, allocations: 125.9 kB / 0.6932 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003046/0.654, allocations: 443.3 kB / 0.6936 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.944e-06/0.654, allocations: 0 / 0.6936 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.6557, allocations: 240.8 kB / 0.6939 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.6564, allocations: 33.88 kB / 0.6939 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.6585, allocations: 494.9 kB / 0.6944 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.6589, allocations: 0.7482 MB / 0.6951 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004048/0.6593, allocations: 36.42 kB / 0.6951 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.6595, allocations: 18.09 kB / 0.6952 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of SimCode: time 2.103e-06/0.6595, allocations: 0 / 0.6952 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.01382/0.6734, allocations: 2.781 MB / 0.6979 GB, free: 9.059 MB / 0.5261 GB