Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.539/1.539, allocations: 255.9 MB / 271.2 MB, free: 8.84 MB / 218.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.00103/0.00103, allocations: 186.2 kB / 330.8 MB, free: 464 kB / 250.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.639/1.639, allocations: 225.7 MB / 0.6016 GB, free: 1.613 MB / 426.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.0008423/0.0008425, allocations: 118.6 kB / 0.709 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003243, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2089, allocations: 109.2 MB / 0.9328 GB, free: 6.266 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004094/0.213, allocations: 3.855 MB / 0.9365 GB, free: 2.395 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002835/0.2159, allocations: 2.978 MB / 0.9394 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.2161, allocations: 11.94 kB / 0.9394 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.2164, allocations: 75.41 kB / 0.9395 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005629/0.2169, allocations: 246.9 kB / 0.9397 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005894/0.2175, allocations: 239.5 kB / 0.94 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0008435/0.2184, allocations: 0.8413 MB / 0.9408 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005666/0.219, allocations: 433.1 kB / 0.9412 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.2192, allocations: 203.2 kB / 0.9414 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004899/0.2197, allocations: 259 kB / 0.9416 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.2198, allocations: 20 kB / 0.9417 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004982/0.2203, allocations: 303.3 kB / 0.942 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.2204, allocations: 127.6 kB / 0.9421 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.2207, allocations: 220.7 kB / 0.9423 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006806/0.2214, allocations: 0.5997 MB / 0.9429 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.2214, allocations: 4 kB / 0.9429 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2214, allocations: 0 / 0.9429 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.2214, allocations: 0 / 0.9429 GB, free: 11.53 MB / 0.5886 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.00114/0.2226, allocations: 0.6513 MB / 0.9435 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2226, allocations: 11.98 kB / 0.9435 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008767/0.2235, allocations: 160.2 kB / 0.9437 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.2239, allocations: 326.6 kB / 0.944 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.224, allocations: 25.31 kB / 0.944 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.2241, allocations: 36.31 kB / 0.944 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007791/0.2248, allocations: 0.5356 MB / 0.9446 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2249, allocations: 0 / 0.9446 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.2249, allocations: 12 kB / 0.9446 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.553e-05/0.225, allocations: 32.64 kB / 0.9446 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005657/0.2255, allocations: 382.3 kB / 0.945 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.2281, allocations: 2.419 MB / 0.9473 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/0.2286, allocations: 258.5 kB / 0.9476 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.2288, allocations: 104.8 kB / 0.9477 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.2288, allocations: 4 kB / 0.9477 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.2288, allocations: 42.56 kB / 0.9477 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=20): time 2.354e-06/0.2288, allocations: 7.922 kB / 0.9477 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.002116/0.231, allocations: 1.122 MB / 0.9488 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.231, allocations: 59.41 kB / 0.9489 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.2313, allocations: 304.3 kB / 0.9492 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.2314, allocations: 29.7 kB / 0.9492 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.2315, allocations: 227.6 kB / 0.9494 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/0.2316, allocations: 78.75 kB / 0.9495 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/0.2316, allocations: 12 kB / 0.9495 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2318, allocations: 338.8 kB / 0.9498 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.232, allocations: 96.59 kB / 0.9499 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.2322, allocations: 204.9 kB / 0.9501 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.2326, allocations: 309.4 kB / 0.9504 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2326, allocations: 4 kB / 0.9504 GB, free: 3.223 MB / 0.5886 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007105/0.2333, allocations: 434.7 kB / 0.9508 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2333, allocations: 8 kB / 0.9508 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2334, allocations: 4 kB / 0.9508 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003522/0.2337, allocations: 102.6 kB / 0.9509 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.234, allocations: 59.91 kB / 0.951 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/0.237, allocations: 4.073 MB / 0.955 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.2373, allocations: 8 kB / 0.955 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.2373, allocations: 20.14 kB / 0.955 GB, free: 14.1 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002011/0.2375, allocations: 189.6 kB / 0.9552 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.2376, allocations: 31.62 kB / 0.9552 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.415e-05/0.2376, allocations: 38.31 kB / 0.9553 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2376, allocations: 0 / 0.9553 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.2377, allocations: 4 kB / 0.9553 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2377, allocations: 0 / 0.9553 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.2381, allocations: 401.3 kB / 0.9556 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2381, allocations: 4 kB / 0.9556 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.2383, allocations: 35.97 kB / 0.9557 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.2386, allocations: 94.53 kB / 0.9558 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.2386, allocations: 4 kB / 0.9558 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003039/0.2417, allocations: 4.072 MB / 0.9597 GB, free: 8.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2417, allocations: 0 / 0.9597 GB, free: 8.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007826/0.2425, allocations: 0.5544 MB / 0.9603 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.2427, allocations: 128.7 kB / 0.9604 GB, free: 8.047 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.2427, allocations: 4 kB / 0.9604 GB, free: 8.043 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.2429, allocations: 12 kB / 0.9604 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.243, allocations: 24.03 kB / 0.9605 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.243, allocations: 4 kB / 0.9605 GB, free: 8.004 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002025/0.2432, allocations: 215 kB / 0.9607 GB, free: 7.797 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2432, allocations: 0 / 0.9607 GB, free: 7.797 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004293/0.2436, allocations: 99.94 kB / 0.9608 GB, free: 7.699 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000137/0.2438, allocations: 111.2 kB / 0.9609 GB, free: 7.582 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008037/0.2446, allocations: 0.6049 MB / 0.9615 GB, free: 6.938 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2446, allocations: 0.6875 kB / 0.9615 GB, free: 6.938 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004827/0.2451, allocations: 479.9 kB / 0.9619 GB, free: 6.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.2456, allocations: 72.25 kB / 0.962 GB, free: 6.355 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.2467, allocations: 0.9018 MB / 0.9629 GB, free: 5.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.2471, allocations: 0.8348 MB / 0.9637 GB, free: 4.566 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000198/0.2473, allocations: 62.88 kB / 0.9637 GB, free: 4.504 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.2474, allocations: 23.44 kB / 0.9638 GB, free: 4.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2474, allocations: 0 / 0.9638 GB, free: 4.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.007909/0.2553, allocations: 4.225 MB / 0.9679 GB, free: 272 kB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)