Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.02/2.02, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001234/0.001234, allocations: 183.2 kB / 393.1 MB, free: 4.078 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.719/1.719, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.001076/0.001076, allocations: 100.9 kB / 0.7935 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.000418, allocations: 8.969 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6497/0.6502, allocations: 121.3 MB / 1.041 GB, free: 58.22 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005194/0.6554, allocations: 4.87 MB / 1.046 GB, free: 54.96 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004261/0.6597, allocations: 4.136 MB / 1.05 GB, free: 51.29 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000512/0.6603, allocations: 18.72 kB / 1.05 GB, free: 51.28 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.6606, allocations: 101 kB / 1.05 GB, free: 51.22 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.6617, allocations: 385.3 kB / 1.05 GB, free: 51.01 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000945/0.6627, allocations: 362.9 kB / 1.051 GB, free: 50.83 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001213/0.6639, allocations: 1.241 MB / 1.052 GB, free: 50.38 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.6653, allocations: 1.149 MB / 1.053 GB, free: 49.51 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005645/0.6659, allocations: 326.8 kB / 1.053 GB, free: 49.38 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005344/0.6664, allocations: 377.5 kB / 1.054 GB, free: 49.24 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.832e-05/0.6665, allocations: 24.62 kB / 1.054 GB, free: 49.24 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008585/0.6674, allocations: 418.3 kB / 1.054 GB, free: 49.1 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.6676, allocations: 228.4 kB / 1.054 GB, free: 49.01 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003377/0.668, allocations: 338.9 kB / 1.054 GB, free: 48.81 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.6692, allocations: 0.9569 MB / 1.055 GB, free: 48.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6692, allocations: 0 / 1.055 GB, free: 48.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.073e-06/0.6692, allocations: 0 / 1.055 GB, free: 48.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.6692, allocations: 0 / 1.055 GB, free: 48.53 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001341/0.6706, allocations: 0.8433 MB / 1.056 GB, free: 47.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.6706, allocations: 10.62 kB / 1.056 GB, free: 47.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.6719, allocations: 197.7 kB / 1.056 GB, free: 47.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.6726, allocations: 489 kB / 1.057 GB, free: 47.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.6727, allocations: 38.38 kB / 1.057 GB, free: 47.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.6728, allocations: 53.33 kB / 1.057 GB, free: 47.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.6739, allocations: 0.8254 MB / 1.058 GB, free: 46.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.674, allocations: 10.88 kB / 1.058 GB, free: 46.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/0.674, allocations: 20.58 kB / 1.058 GB, free: 46.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001839/0.6742, allocations: 68.31 kB / 1.058 GB, free: 46.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008137/0.675, allocations: 0.5744 MB / 1.058 GB, free: 46.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004037/0.6791, allocations: 4.588 MB / 1.063 GB, free: 42.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.6795, allocations: 293.7 kB / 1.063 GB, free: 42.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.6798, allocations: 226.3 kB / 1.063 GB, free: 42.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.6799, allocations: 4.656 kB / 1.063 GB, free: 42.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.6799, allocations: 42.06 kB / 1.063 GB, free: 42.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.524e-06/0.6799, allocations: 0 / 1.063 GB, free: 42.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.005227/0.6851, allocations: 2.632 MB / 1.066 GB, free: 41.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.6852, allocations: 54.75 kB / 1.066 GB, free: 41.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004761/0.6857, allocations: 449.3 kB / 1.067 GB, free: 40.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.6857, allocations: 37.02 kB / 1.067 GB, free: 40.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.6859, allocations: 337.1 kB / 1.067 GB, free: 40.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.525e-05/0.686, allocations: 153 kB / 1.067 GB, free: 40.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.686, allocations: 11.09 kB / 1.067 GB, free: 40.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.6861, allocations: 361.1 kB / 1.067 GB, free: 40.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.6865, allocations: 236.5 kB / 1.068 GB, free: 40.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.6869, allocations: 402.6 kB / 1.068 GB, free: 39.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007557/0.6876, allocations: 0.6677 MB / 1.069 GB, free: 39.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6876, allocations: 2.938 kB / 1.069 GB, free: 39.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001536/0.6892, allocations: 0.9174 MB / 1.07 GB, free: 38.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.6892, allocations: 16.56 kB / 1.07 GB, free: 38.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.6892, allocations: 6.562 kB / 1.07 GB, free: 38.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000825/0.6901, allocations: 223.3 kB / 1.07 GB, free: 38.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.6906, allocations: 120.8 kB / 1.07 GB, free: 38.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004101/0.6947, allocations: 4.932 MB / 1.075 GB, free: 34.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006574/0.6954, allocations: 41.42 kB / 1.075 GB, free: 34.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/0.6955, allocations: 22.25 kB / 1.075 GB, free: 34.53 MB / 0.698 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 (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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004211/0.6959, allocations: 226.6 kB / 1.075 GB, free: 34.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.696, allocations: 60.12 kB / 1.075 GB, free: 34.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.6974, allocations: 0.765 MB / 1.076 GB, free: 34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.6974, allocations: 3.438 kB / 1.076 GB, free: 34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.6975, allocations: 7.281 kB / 1.076 GB, free: 34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.6975, allocations: 0 / 1.076 GB, free: 34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.6998, allocations: 1.501 MB / 1.077 GB, free: 33.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.6999, allocations: 0 / 1.077 GB, free: 33.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.7002, allocations: 68.27 kB / 1.077 GB, free: 33.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006444/0.7009, allocations: 213 kB / 1.078 GB, free: 33.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.7009, allocations: 14.28 kB / 1.078 GB, free: 33.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003731/0.7047, allocations: 4.866 MB / 1.082 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7047, allocations: 0 / 1.082 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.7065, allocations: 1.133 MB / 1.083 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.7069, allocations: 170.4 kB / 1.084 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/0.707, allocations: 10.84 kB / 1.084 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.7073, allocations: 29.36 kB / 1.084 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.7074, allocations: 40.72 kB / 1.084 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.7075, allocations: 19.22 kB / 1.084 GB, free: 28.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003293/0.7078, allocations: 311 kB / 1.084 GB, free: 27.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7078, allocations: 0 / 1.084 GB, free: 27.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007636/0.7086, allocations: 167 kB / 1.084 GB, free: 27.91 MB / 0.698 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 (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 {(2,2,100.0%), (2,4,100.0%), (2,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.0002053/0.7088, allocations: 119.4 kB / 1.084 GB, free: 27.81 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.7104, allocations: 0.9994 MB / 1.085 GB, free: 27.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.7104, allocations: 0 / 1.085 GB, free: 27.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008176/0.7112, allocations: 0.6754 MB / 1.086 GB, free: 26.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009765/0.7122, allocations: 172.3 kB / 1.086 GB, free: 26.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.7142, allocations: 1.551 MB / 1.088 GB, free: 25.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.7147, allocations: 0.9419 MB / 1.088 GB, free: 25.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004712/0.7152, allocations: 116.5 kB / 1.089 GB, free: 25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.7153, allocations: 41.39 kB / 1.089 GB, free: 24.99 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/0.7153, allocations: 0 / 1.089 GB, free: 24.99 MB / 0.698 GB Notification: Performance of Templates: time 0.01976/0.7351, allocations: 8.402 MB / 1.097 GB, free: 24.46 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)