Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.678/1.678, allocations: 292.6 MB / 307.8 MB, free: 7.145 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.001269/0.001269, allocations: 185 kB / 376.5 MB, free: 4.453 MB / 298.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.368/1.368, allocations: 225.7 MB / 0.655 GB, free: 13.17 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.0008173/0.0008174, allocations: 105.5 kB / 0.7711 GB, free: 50.25 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006338/0.0006339, allocations: 13.06 kB / 0.897 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.882/0.8827, allocations: 118.2 MB / 1.012 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005064/0.8878, allocations: 3.804 MB / 1.016 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002919/0.8907, allocations: 1.747 MB / 1.018 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.8909, allocations: 7.594 kB / 1.018 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.8912, allocations: 70.81 kB / 1.018 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005502/0.8917, allocations: 241.6 kB / 1.018 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.8923, allocations: 202 kB / 1.018 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006401/0.8929, allocations: 0.6889 MB / 1.019 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005276/0.8935, allocations: 432.6 kB / 1.019 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.8937, allocations: 206 kB / 1.02 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.8941, allocations: 248.4 kB / 1.02 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.8942, allocations: 18.12 kB / 1.02 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.8946, allocations: 298.2 kB / 1.02 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.8947, allocations: 131.4 kB / 1.02 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.8949, allocations: 207.2 kB / 1.02 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.8953, allocations: 477.2 kB / 1.021 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.8954, allocations: 0.9688 kB / 1.021 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8954, allocations: 0 / 1.021 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.8954, allocations: 2.094 kB / 1.021 GB, free: 56.36 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009604/0.8964, allocations: 0.6539 MB / 1.022 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.8964, allocations: 8.812 kB / 1.022 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008585/0.8973, allocations: 157.7 kB / 1.022 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.8976, allocations: 331.5 kB / 1.022 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.8977, allocations: 27.69 kB / 1.022 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-05/0.8977, allocations: 29.5 kB / 1.022 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.8985, allocations: 0.5355 MB / 1.023 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.8985, allocations: 3.938 kB / 1.023 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/0.8986, allocations: 13.56 kB / 1.023 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-05/0.8986, allocations: 32.66 kB / 1.023 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005601/0.8992, allocations: 381.8 kB / 1.023 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.9013, allocations: 2.415 MB / 1.025 GB, free: 53.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.9018, allocations: 263 kB / 1.026 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.902, allocations: 108.1 kB / 1.026 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.902, allocations: 2.719 kB / 1.026 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.902, allocations: 42.91 kB / 1.026 GB, free: 53.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 2.064e-06/0.9021, allocations: 0 / 1.026 GB, free: 53.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.001984/0.904, allocations: 1.13 MB / 1.027 GB, free: 53.01 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.9041, allocations: 54.59 kB / 1.027 GB, free: 52.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.9043, allocations: 297.8 kB / 1.027 GB, free: 52.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.9044, allocations: 25.7 kB / 1.027 GB, free: 52.81 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.9045, allocations: 236.7 kB / 1.027 GB, free: 52.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.9046, allocations: 85.22 kB / 1.028 GB, free: 52.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.9046, allocations: 8 kB / 1.028 GB, free: 52.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.9047, allocations: 341.2 kB / 1.028 GB, free: 52.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.9048, allocations: 97.94 kB / 1.028 GB, free: 52.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.905, allocations: 195.1 kB / 1.028 GB, free: 52.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.9054, allocations: 310.8 kB / 1.028 GB, free: 52.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.9054, allocations: 3.375 kB / 1.028 GB, free: 52.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007398/0.9061, allocations: 436.8 kB / 1.029 GB, free: 51.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.9062, allocations: 7.062 kB / 1.029 GB, free: 51.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.9062, allocations: 2.281 kB / 1.029 GB, free: 51.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003436/0.9065, allocations: 95.08 kB / 1.029 GB, free: 51.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.9068, allocations: 68.08 kB / 1.029 GB, free: 51.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.9092, allocations: 4.082 MB / 1.033 GB, free: 48.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.9094, allocations: 13.91 kB / 1.033 GB, free: 48.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.9094, allocations: 8.656 kB / 1.033 GB, free: 48.13 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.9096, allocations: 186.3 kB / 1.033 GB, free: 48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.9097, allocations: 30.12 kB / 1.033 GB, free: 47.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.242e-05/0.9098, allocations: 41.91 kB / 1.033 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.9098, allocations: 2.375 kB / 1.033 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.9098, allocations: 7.406 kB / 1.033 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.9098, allocations: 0 / 1.033 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.9103, allocations: 409.1 kB / 1.034 GB, free: 47.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9103, allocations: 0 / 1.034 GB, free: 47.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.9105, allocations: 38.81 kB / 1.034 GB, free: 47.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002795/0.9108, allocations: 91.94 kB / 1.034 GB, free: 47.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.9108, allocations: 5.062 kB / 1.034 GB, free: 47.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.913, allocations: 4.073 MB / 1.038 GB, free: 43.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.9131, allocations: 3.688 kB / 1.038 GB, free: 43.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007023/0.9138, allocations: 0.5477 MB / 1.038 GB, free: 43.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.9139, allocations: 135.9 kB / 1.038 GB, free: 43.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.9139, allocations: 6.594 kB / 1.038 GB, free: 43.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.9141, allocations: 11.16 kB / 1.038 GB, free: 43.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.9142, allocations: 16.81 kB / 1.039 GB, free: 43.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.9142, allocations: 6.031 kB / 1.039 GB, free: 43.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002045/0.9144, allocations: 208 kB / 1.039 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9144, allocations: 0 / 1.039 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004322/0.9149, allocations: 98.97 kB / 1.039 GB, free: 43.57 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001177/0.915, allocations: 117.9 kB / 1.039 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007927/0.9158, allocations: 0.6031 MB / 1.04 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9158, allocations: 0 / 1.04 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.9162, allocations: 465.4 kB / 1.04 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.9167, allocations: 85.86 kB / 1.04 GB, free: 42.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.9178, allocations: 0.8638 MB / 1.041 GB, free: 42.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.9182, allocations: 0.8332 MB / 1.042 GB, free: 41.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00022/0.9185, allocations: 53.7 kB / 1.042 GB, free: 41.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.9185, allocations: 25.16 kB / 1.042 GB, free: 41.59 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.9185, allocations: 0 / 1.042 GB, free: 41.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.009921/0.9285, allocations: 4.153 MB / 1.046 GB, free: 41.4 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)