Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.99/1.99, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.00135/0.00135, allocations: 171.5 kB / 393.1 MB, free: 4.066 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.633/1.633, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009097/0.00091, allocations: 89.53 kB / 0.7935 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004078, allocations: 8 kB / 0.9224 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7265/0.7269, allocations: 121.3 MB / 1.041 GB, free: 58.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001272/0.7282, allocations: 0.7433 MB / 1.042 GB, free: 57.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.73, allocations: 1.569 MB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.7301, allocations: 2.938 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.7302, allocations: 15.11 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.073e-05/0.7303, allocations: 29.41 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007529/0.7311, allocations: 259.4 kB / 1.043 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003604/0.7315, allocations: 356.2 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.7316, allocations: 71.09 kB / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.7318, allocations: 121.2 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.732, allocations: 130.2 kB / 1.044 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.7321, allocations: 17.75 kB / 1.044 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.65e-05/0.7322, allocations: 26.7 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.7322, allocations: 58.77 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.7324, allocations: 149.5 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.7328, allocations: 401.3 kB / 1.045 GB, free: 55.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.7328, allocations: 0 / 1.045 GB, free: 55.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7328, allocations: 0 / 1.045 GB, free: 55.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.7328, allocations: 0.6875 kB / 1.045 GB, free: 55.98 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.001/0.7338, allocations: 0.5799 MB / 1.045 GB, free: 55.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.7339, allocations: 10.78 kB / 1.045 GB, free: 55.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.821e-05/0.734, allocations: 33.36 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.7343, allocations: 269.7 kB / 1.046 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.7343, allocations: 24.44 kB / 1.046 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.803e-05/0.7344, allocations: 22.72 kB / 1.046 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.735, allocations: 257.9 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.735, allocations: 1.219 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.735, allocations: 16.16 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.735, allocations: 3.25 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000687/0.7357, allocations: 274 kB / 1.046 GB, free: 55.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.7369, allocations: 0.759 MB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.7374, allocations: 227.2 kB / 1.047 GB, free: 54.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/0.7379, allocations: 170.8 kB / 1.047 GB, free: 54.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.7379, allocations: 4 kB / 1.047 GB, free: 54.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005641/0.7385, allocations: 269.8 kB / 1.048 GB, free: 54.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 1.733e-06/0.7385, allocations: 0 / 1.048 GB, free: 54.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.001412/0.7399, allocations: 0.5886 MB / 1.048 GB, free: 54.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.74, allocations: 62.61 kB / 1.048 GB, free: 54.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.7402, allocations: 218 kB / 1.048 GB, free: 53.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.7402, allocations: 40.98 kB / 1.048 GB, free: 53.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.7403, allocations: 144 kB / 1.049 GB, free: 53.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.7404, allocations: 65.95 kB / 1.049 GB, free: 53.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.7404, allocations: 6.828 kB / 1.049 GB, free: 53.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.7405, allocations: 337.2 kB / 1.049 GB, free: 53.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/0.741, allocations: 200.2 kB / 1.049 GB, free: 53.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.7415, allocations: 240 kB / 1.049 GB, free: 53.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008249/0.7423, allocations: 419.9 kB / 1.05 GB, free: 53.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7424, allocations: 0 / 1.05 GB, free: 53.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001146/0.7435, allocations: 0.5611 MB / 1.05 GB, free: 52.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.7436, allocations: 76.91 kB / 1.05 GB, free: 52.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.7436, allocations: 0.5312 kB / 1.05 GB, free: 52.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.7436, allocations: 5.5 kB / 1.05 GB, free: 52.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.7439, allocations: 63.53 kB / 1.05 GB, free: 52.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.7439, allocations: 2.781 kB / 1.05 GB, free: 52.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.7445, allocations: 120.2 kB / 1.051 GB, free: 52.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.7445, allocations: 17.42 kB / 1.051 GB, free: 52.71 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.0001937/0.7447, allocations: 167.5 kB / 1.051 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.7448, allocations: 24.09 kB / 1.051 GB, free: 52.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.083e-05/0.7448, allocations: 35.81 kB / 1.051 GB, free: 52.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.7449, allocations: 7.188 kB / 1.051 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.7449, allocations: 0 / 1.051 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.7449, allocations: 0 / 1.051 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.7463, allocations: 0.8171 MB / 1.052 GB, free: 52.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.7463, allocations: 0 / 1.052 GB, free: 52.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.7466, allocations: 45.48 kB / 1.052 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.7466, allocations: 2.469 kB / 1.052 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.7466, allocations: 8.531 kB / 1.052 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.7466, allocations: 2.844 kB / 1.052 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7466, allocations: 0 / 1.052 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.7477, allocations: 0.5332 MB / 1.052 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.7478, allocations: 98.95 kB / 1.052 GB, free: 51.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.7479, allocations: 8.391 kB / 1.052 GB, free: 51.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.7481, allocations: 43.03 kB / 1.052 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.7482, allocations: 25.02 kB / 1.052 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.7483, allocations: 13.08 kB / 1.052 GB, free: 51.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001393/0.7484, allocations: 159.3 kB / 1.053 GB, free: 51.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7484, allocations: 0 / 1.053 GB, free: 51.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003744/0.7488, allocations: 70.34 kB / 1.053 GB, free: 51.56 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.0001932/0.749, allocations: 126.4 kB / 1.053 GB, free: 51.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.7501, allocations: 0.5529 MB / 1.053 GB, free: 51.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7502, allocations: 0 / 1.053 GB, free: 51.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.7506, allocations: 204.3 kB / 1.053 GB, free: 51.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.7511, allocations: 49.22 kB / 1.053 GB, free: 51.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.7521, allocations: 0.5529 MB / 1.054 GB, free: 50.78 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.7523, allocations: 0.7524 MB / 1.055 GB, free: 50.08 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.7525, allocations: 36.8 kB / 1.055 GB, free: 50.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.7525, allocations: 18.88 kB / 1.055 GB, free: 50.06 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/0.7525, allocations: 0 / 1.055 GB, free: 50.06 MB / 0.698 GB Notification: Performance of Templates: time 0.007978/0.7605, allocations: 3.916 MB / 1.059 GB, free: 49.79 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)