Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.795/1.795, allocations: 291.7 MB / 306.8 MB, free: 7.703 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.001018/0.001018, allocations: 185.5 kB / 375.4 MB, free: 5.098 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.517/1.517, allocations: 225.7 MB / 0.6538 GB, free: 13.59 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.000831/0.0008311, allocations: 103.3 kB / 0.7699 GB, free: 50.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006206/0.0006207, allocations: 9.312 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6883/0.6889, allocations: 118.1 MB / 1.011 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.00449/0.6934, allocations: 3.812 MB / 1.015 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.6963, allocations: 1.732 MB / 1.016 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.6966, allocations: 13.59 kB / 1.016 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.6969, allocations: 64.33 kB / 1.016 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005811/0.6974, allocations: 219.5 kB / 1.017 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.6979, allocations: 180.5 kB / 1.017 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005574/0.6985, allocations: 0.6851 MB / 1.017 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/0.699, allocations: 437.9 kB / 1.018 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.6992, allocations: 209.8 kB / 1.018 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/0.6996, allocations: 247.8 kB / 1.018 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.6996, allocations: 18.38 kB / 1.018 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.6999, allocations: 128.6 kB / 1.018 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.7, allocations: 126.2 kB / 1.019 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.844e-05/0.7001, allocations: 97.52 kB / 1.019 GB, free: 56.42 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.7005, allocations: 460.1 kB / 1.019 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7005, allocations: 2.312 kB / 1.019 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7006, allocations: 0 / 1.019 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.7006, allocations: 0.625 kB / 1.019 GB, free: 56.38 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.000974/0.7015, allocations: 0.658 MB / 1.02 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.7016, allocations: 11.38 kB / 1.02 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008674/0.7025, allocations: 151 kB / 1.02 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.7028, allocations: 329.4 kB / 1.02 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.7029, allocations: 26.16 kB / 1.02 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.7029, allocations: 35.27 kB / 1.02 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006878/0.7036, allocations: 0.5373 MB / 1.021 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.7037, allocations: 1.469 kB / 1.021 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.7037, allocations: 13.5 kB / 1.021 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-05/0.7038, allocations: 31.23 kB / 1.021 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005037/0.7043, allocations: 386.6 kB / 1.021 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.7063, allocations: 2.412 MB / 1.024 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.7068, allocations: 259.3 kB / 1.024 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.7069, allocations: 117.2 kB / 1.024 GB, free: 53.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.7069, allocations: 3.312 kB / 1.024 GB, free: 53.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.707, allocations: 40 kB / 1.024 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.694e-06/0.707, allocations: 0.8125 kB / 1.024 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.001836/0.7088, allocations: 1.13 MB / 1.025 GB, free: 53.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.7089, allocations: 54.28 kB / 1.025 GB, free: 52.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.7091, allocations: 295.3 kB / 1.025 GB, free: 52.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.7091, allocations: 33.45 kB / 1.025 GB, free: 52.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.694e-05/0.7092, allocations: 239.7 kB / 1.026 GB, free: 52.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.7093, allocations: 84.34 kB / 1.026 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.7093, allocations: 5.344 kB / 1.026 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.7094, allocations: 338.9 kB / 1.026 GB, free: 52.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.7095, allocations: 101.3 kB / 1.026 GB, free: 52.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.7097, allocations: 195.4 kB / 1.026 GB, free: 52.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.7101, allocations: 310.5 kB / 1.027 GB, free: 52.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7101, allocations: 2.812 kB / 1.027 GB, free: 52.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006118/0.7107, allocations: 434 kB / 1.027 GB, free: 52.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.7107, allocations: 5.812 kB / 1.027 GB, free: 52.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.7107, allocations: 3.312 kB / 1.027 GB, free: 52.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/0.711, allocations: 107.5 kB / 1.027 GB, free: 51.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.7113, allocations: 61.88 kB / 1.027 GB, free: 51.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.7134, allocations: 4.079 MB / 1.031 GB, free: 48.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.7137, allocations: 6.5 kB / 1.031 GB, free: 48.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.7137, allocations: 9.375 kB / 1.031 GB, free: 48.16 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.0001863/0.7139, allocations: 194.2 kB / 1.031 GB, free: 48.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.7139, allocations: 28.84 kB / 1.031 GB, free: 48.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/0.714, allocations: 37.28 kB / 1.031 GB, free: 48.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.714, allocations: 2.75 kB / 1.031 GB, free: 48.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.714, allocations: 1.375 kB / 1.031 GB, free: 48.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.714, allocations: 1.375 kB / 1.031 GB, free: 48.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.7144, allocations: 406.4 kB / 1.032 GB, free: 47.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7144, allocations: 1.406 kB / 1.032 GB, free: 47.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.7146, allocations: 37.47 kB / 1.032 GB, free: 47.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002685/0.7149, allocations: 91.7 kB / 1.032 GB, free: 47.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.7149, allocations: 5.312 kB / 1.032 GB, free: 47.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.717, allocations: 4.073 MB / 1.036 GB, free: 43.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.717, allocations: 2.719 kB / 1.036 GB, free: 43.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006903/0.7177, allocations: 0.5515 MB / 1.037 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.7178, allocations: 131.6 kB / 1.037 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.7178, allocations: 3.875 kB / 1.037 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.718, allocations: 16.16 kB / 1.037 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.7181, allocations: 18.44 kB / 1.037 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.7181, allocations: 5.844 kB / 1.037 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001616/0.7183, allocations: 207.9 kB / 1.037 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7183, allocations: 4.062 kB / 1.037 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004262/0.7187, allocations: 101 kB / 1.037 GB, free: 43.61 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.0001099/0.7188, allocations: 109.3 kB / 1.037 GB, free: 43.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007078/0.7195, allocations: 0.6076 MB / 1.038 GB, free: 43.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7195, allocations: 0 / 1.038 GB, free: 43.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.7199, allocations: 466.9 kB / 1.038 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.7204, allocations: 78.62 kB / 1.038 GB, free: 42.83 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.7215, allocations: 0.864 MB / 1.039 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.7217, allocations: 0.8298 MB / 1.04 GB, free: 41.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.722, allocations: 57.52 kB / 1.04 GB, free: 41.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.722, allocations: 27.09 kB / 1.04 GB, free: 41.63 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.722, allocations: 1.281 kB / 1.04 GB, free: 41.63 MB / 0.7136 GB Notification: Performance of Templates: time 0.009233/0.7313, allocations: 4.105 MB / 1.044 GB, free: 41.45 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)