Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.225/2.225, allocations: 255 MB / 269.9 MB, free: 9.629 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.001343/0.001343, allocations: 192.8 kB / 329.5 MB, free: 1.156 MB / 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 2.552/2.552, allocations: 225.6 MB / 0.6001 GB, free: 484 kB / 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.0009385/0.0009382, allocations: 94.16 kB / 0.7074 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0008773/0.0008775, allocations: 11.78 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2417, allocations: 109.1 MB / 0.9308 GB, free: 24.86 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007197/0.2489, allocations: 4.822 MB / 0.9355 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.005136/0.2541, allocations: 2.476 MB / 0.9379 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005691/0.2547, allocations: 19.88 kB / 0.9379 GB, free: 17.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.2551, allocations: 103.1 kB / 0.938 GB, free: 17.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.2563, allocations: 330.2 kB / 0.9383 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.2575, allocations: 287.4 kB / 0.9386 GB, free: 16.81 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.2588, allocations: 1.057 MB / 0.9396 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.2604, allocations: 0.7633 MB / 0.9404 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006528/0.2611, allocations: 306.7 kB / 0.9407 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006116/0.2617, allocations: 374.6 kB / 0.941 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.888e-05/0.2618, allocations: 24 kB / 0.9411 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006345/0.2624, allocations: 187.7 kB / 0.9412 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.2627, allocations: 219.4 kB / 0.9414 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.2629, allocations: 145.3 kB / 0.9416 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000867/0.2638, allocations: 0.721 MB / 0.9423 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2638, allocations: 4 kB / 0.9423 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.275e-06/0.2638, allocations: 0 / 0.9423 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.2638, allocations: 0 / 0.9423 GB, free: 12.98 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001806/0.2656, allocations: 0.857 MB / 0.9431 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2657, allocations: 8.031 kB / 0.9431 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001936/0.2676, allocations: 195.8 kB / 0.9433 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009691/0.2686, allocations: 471 kB / 0.9438 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.2687, allocations: 37.36 kB / 0.9438 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.2689, allocations: 52.47 kB / 0.9439 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.2704, allocations: 0.8354 MB / 0.9447 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.2705, allocations: 15.81 kB / 0.9447 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.594e-05/0.2706, allocations: 23.98 kB / 0.9447 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000294/0.2709, allocations: 68.94 kB / 0.9448 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.2721, allocations: 0.5658 MB / 0.9453 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005447/0.2776, allocations: 4.589 MB / 0.9498 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.2783, allocations: 295.2 kB / 0.9501 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004408/0.2788, allocations: 221.3 kB / 0.9503 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.2788, allocations: 8.281 kB / 0.9503 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.2789, allocations: 34.84 kB / 0.9503 GB, free: 4.191 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=33): time 2.504e-06/0.2789, allocations: 0 / 0.9503 GB, free: 4.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=40): time 0.008321/0.2872, allocations: 2.635 MB / 0.9529 GB, free: 1.43 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.2873, allocations: 59.41 kB / 0.953 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/0.2878, allocations: 453.9 kB / 0.9534 GB, free: 0.9062 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.2879, allocations: 33.7 kB / 0.9534 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.2881, allocations: 335.7 kB / 0.9538 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.2883, allocations: 149.9 kB / 0.9539 GB, free: 392 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.2883, allocations: 8 kB / 0.9539 GB, free: 384 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.2884, allocations: 362.8 kB / 0.9543 GB, free: 12 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006647/0.2891, allocations: 233 kB / 0.9545 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007665/0.2899, allocations: 414.4 kB / 0.9549 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007416/0.2906, allocations: 293.7 kB / 0.9552 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.2906, allocations: 4 kB / 0.9552 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002993/0.2936, allocations: 0.9062 MB / 0.956 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.2937, allocations: 8 kB / 0.9561 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.2937, allocations: 12.03 kB / 0.9561 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.2952, allocations: 218.4 kB / 0.9563 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.2962, allocations: 123.7 kB / 0.9564 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007552/0.3038, allocations: 4.946 MB / 0.9612 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007992/0.3046, allocations: 27.97 kB / 0.9612 GB, free: 8.359 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.3047, allocations: 24 kB / 0.9613 GB, free: 8.336 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004794/0.3052, allocations: 233.6 kB / 0.9615 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.3054, allocations: 59.34 kB / 0.9615 GB, free: 8.039 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.3079, allocations: 0.7771 MB / 0.9623 GB, free: 7.246 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.3079, allocations: 4 kB / 0.9623 GB, free: 7.242 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.3079, allocations: 4 kB / 0.9623 GB, free: 7.238 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.308, allocations: 0 / 0.9623 GB, free: 7.238 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/0.312, allocations: 1.499 MB / 0.9638 GB, free: 5.648 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.312, allocations: 0 / 0.9638 GB, free: 5.648 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007731/0.3128, allocations: 71.88 kB / 0.9638 GB, free: 5.578 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.314, allocations: 202.6 kB / 0.964 GB, free: 5.371 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.3141, allocations: 16.12 kB / 0.9641 GB, free: 5.355 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007363/0.3215, allocations: 4.864 MB / 0.9688 GB, free: 84 kB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/0.3215, allocations: 11.92 kB / 0.9688 GB, free: 72 kB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.3247, allocations: 1.131 MB / 0.9699 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.3252, allocations: 172.4 kB / 0.9701 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.3253, allocations: 15.92 kB / 0.9701 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005586/0.3259, allocations: 23.97 kB / 0.9701 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.326, allocations: 43.95 kB / 0.9702 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.3261, allocations: 8 kB / 0.9702 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005304/0.3266, allocations: 306.9 kB / 0.9705 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3266, allocations: 0 / 0.9705 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009437/0.3276, allocations: 168 kB / 0.9706 GB, free: 14.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002265/0.3278, allocations: 123.7 kB / 0.9707 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002735/0.3306, allocations: 0.9971 MB / 0.9717 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.3306, allocations: 0 / 0.9717 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001682/0.3323, allocations: 0.676 MB / 0.9724 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.334, allocations: 163.5 kB / 0.9725 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.3374, allocations: 1.497 MB / 0.974 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007566/0.3382, allocations: 0.9455 MB / 0.9749 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007016/0.3389, allocations: 117 kB / 0.975 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.3391, allocations: 39.44 kB / 0.9751 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of SimCode: time 1.332e-06/0.3391, allocations: 0 / 0.9751 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of Templates: time 0.02486/0.3639, allocations: 8.139 MB / 0.983 GB, free: 1.324 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)