Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 297.4 MB / 312.6 MB, free: 2.949 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 197.2 kB / 382.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 225.7 MB / 0.6617 GB, free: 7.23 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009161/0.0009161, allocations: 92.67 kB / 0.7789 GB, free: 47.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004102, allocations: 12 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8365/0.8369, allocations: 119.2 MB / 1.022 GB, free: 58.27 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001776/0.8387, allocations: 0.7449 MB / 1.023 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002321/0.8411, allocations: 1.572 MB / 1.025 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.515e-05/0.8412, allocations: 2.312 kB / 1.025 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.8413, allocations: 11.83 kB / 1.025 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.8415, allocations: 33.47 kB / 1.025 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009501/0.8424, allocations: 257.2 kB / 1.025 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006216/0.8431, allocations: 353.5 kB / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.8434, allocations: 75.47 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.8436, allocations: 126.4 kB / 1.025 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.844, allocations: 130.3 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.795e-05/0.844, allocations: 15.81 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.8442, allocations: 25.52 kB / 1.026 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.611e-05/0.8443, allocations: 53.86 kB / 1.026 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.8445, allocations: 153.4 kB / 1.026 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005522/0.845, allocations: 396.3 kB / 1.026 GB, free: 56.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.8451, allocations: 0 / 1.026 GB, free: 56.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.905e-06/0.8451, allocations: 0.5625 kB / 1.026 GB, free: 56.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.8451, allocations: 0 / 1.026 GB, free: 56.29 MB / 0.698 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.001079/0.8462, allocations: 0.5799 MB / 1.027 GB, free: 55.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.8462, allocations: 11.19 kB / 1.027 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.207e-05/0.8463, allocations: 30.03 kB / 1.027 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.8467, allocations: 274.8 kB / 1.027 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.8467, allocations: 21.36 kB / 1.027 GB, free: 55.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.8468, allocations: 26.59 kB / 1.027 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/0.8475, allocations: 250.9 kB / 1.027 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.8475, allocations: 1.469 kB / 1.027 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.8475, allocations: 28.11 kB / 1.027 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.8475, allocations: 3.594 kB / 1.027 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006984/0.8482, allocations: 272.5 kB / 1.028 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.8496, allocations: 0.7669 MB / 1.028 GB, free: 54.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.8501, allocations: 227.4 kB / 1.029 GB, free: 54.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.8505, allocations: 166.3 kB / 1.029 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.8505, allocations: 6.969 kB / 1.029 GB, free: 54.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005598/0.8511, allocations: 268.6 kB / 1.029 GB, free: 54.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 1.714e-06/0.8511, allocations: 0 / 1.029 GB, free: 54.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.001505/0.8526, allocations: 0.5912 MB / 1.03 GB, free: 54.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.8527, allocations: 54.09 kB / 1.03 GB, free: 54.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.8529, allocations: 225.5 kB / 1.03 GB, free: 54.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.8529, allocations: 33.61 kB / 1.03 GB, free: 54.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.062e-05/0.853, allocations: 140.8 kB / 1.03 GB, free: 54.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.8531, allocations: 68.52 kB / 1.03 GB, free: 54.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.8531, allocations: 6.656 kB / 1.03 GB, free: 54.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.8532, allocations: 336.8 kB / 1.03 GB, free: 53.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005202/0.8538, allocations: 196.7 kB / 1.031 GB, free: 53.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.8543, allocations: 239.2 kB / 1.031 GB, free: 53.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.8551, allocations: 426.3 kB / 1.031 GB, free: 53.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8551, allocations: 3.938 kB / 1.031 GB, free: 53.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001131/0.8562, allocations: 0.5639 MB / 1.032 GB, free: 53.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.744e-05/0.8563, allocations: 77.86 kB / 1.032 GB, free: 53.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.8563, allocations: 3.938 kB / 1.032 GB, free: 53.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.8563, allocations: 2.562 kB / 1.032 GB, free: 53.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.8566, allocations: 67.34 kB / 1.032 GB, free: 53.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.8567, allocations: 5.891 kB / 1.032 GB, free: 53.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/0.8572, allocations: 111.5 kB / 1.032 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.8572, allocations: 17.95 kB / 1.032 GB, free: 53 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001986/0.8574, allocations: 169.7 kB / 1.032 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.8575, allocations: 22.81 kB / 1.032 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.494e-05/0.8575, allocations: 27.19 kB / 1.032 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.8576, allocations: 0.5938 kB / 1.032 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.8576, allocations: 3.375 kB / 1.032 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.8576, allocations: 3.938 kB / 1.032 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.8589, allocations: 0.8315 MB / 1.033 GB, free: 52.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.8589, allocations: 3.406 kB / 1.033 GB, free: 52.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.8591, allocations: 42.86 kB / 1.033 GB, free: 52.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.8591, allocations: 1.828 kB / 1.033 GB, free: 52.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.8591, allocations: 5.938 kB / 1.033 GB, free: 52.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.8591, allocations: 6.375 kB / 1.033 GB, free: 52.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8591, allocations: 0 / 1.033 GB, free: 52.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000901/0.86, allocations: 0.533 MB / 1.034 GB, free: 52.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.8601, allocations: 100.5 kB / 1.034 GB, free: 51.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.8602, allocations: 14.47 kB / 1.034 GB, free: 51.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.8604, allocations: 27.08 kB / 1.034 GB, free: 51.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.8605, allocations: 32.48 kB / 1.034 GB, free: 51.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.8605, allocations: 11.97 kB / 1.034 GB, free: 51.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001401/0.8606, allocations: 152.7 kB / 1.034 GB, free: 51.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8607, allocations: 0 / 1.034 GB, free: 51.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003238/0.861, allocations: 72.89 kB / 1.034 GB, free: 51.85 MB / 0.698 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 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.000188/0.8612, allocations: 128.3 kB / 1.034 GB, free: 51.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.8622, allocations: 0.5612 MB / 1.035 GB, free: 51.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8622, allocations: 0 / 1.035 GB, free: 51.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004171/0.8627, allocations: 195.2 kB / 1.035 GB, free: 51.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.8631, allocations: 49.66 kB / 1.035 GB, free: 51.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.8641, allocations: 0.5555 MB / 1.035 GB, free: 51.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.8646, allocations: 0.7492 MB / 1.036 GB, free: 50.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.8647, allocations: 36.92 kB / 1.036 GB, free: 50.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.8648, allocations: 24.08 kB / 1.036 GB, free: 50.35 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.8648, allocations: 0 / 1.036 GB, free: 50.35 MB / 0.698 GB Notification: Performance of Templates: time 0.008962/0.8738, allocations: 3.902 MB / 1.04 GB, free: 50.11 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)