Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.718/1.718, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.0009375/0.0009376, allocations: 179.2 kB / 393.1 MB, free: 4.082 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.459/1.459, allocations: 225.7 MB / 0.6743 GB, free: 12.54 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.001348/0.001348, allocations: 94.11 kB / 0.7935 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003884, allocations: 8 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6718/0.6722, allocations: 121.3 MB / 1.041 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003438/0.6757, allocations: 2.812 MB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002164/0.6779, allocations: 2.13 MB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.678, allocations: 5.562 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.6782, allocations: 39.2 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.6786, allocations: 142.7 kB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.679, allocations: 138.4 kB / 1.046 GB, free: 53.99 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.6794, allocations: 456.1 kB / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.6797, allocations: 247 kB / 1.047 GB, free: 53.69 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.6799, allocations: 110.4 kB / 1.047 GB, free: 53.65 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.6802, allocations: 147 kB / 1.047 GB, free: 53.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.6802, allocations: 12.94 kB / 1.047 GB, free: 53.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.6805, allocations: 194.2 kB / 1.047 GB, free: 53.53 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.122e-05/0.6806, allocations: 72.86 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.6807, allocations: 133.5 kB / 1.047 GB, free: 53.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.6811, allocations: 364.2 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6812, allocations: 4.094 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6812, allocations: 0 / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.6812, allocations: 0 / 1.048 GB, free: 53.3 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007573/0.6819, allocations: 0.5008 MB / 1.048 GB, free: 52.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.682, allocations: 9.688 kB / 1.048 GB, free: 52.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005198/0.6825, allocations: 84.05 kB / 1.048 GB, free: 52.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.6828, allocations: 250 kB / 1.048 GB, free: 52.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.6828, allocations: 13.75 kB / 1.048 GB, free: 52.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.6828, allocations: 23.88 kB / 1.049 GB, free: 52.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.6833, allocations: 314.4 kB / 1.049 GB, free: 52.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.6834, allocations: 1.375 kB / 1.049 GB, free: 52.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.6834, allocations: 14.08 kB / 1.049 GB, free: 52.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.6834, allocations: 17.81 kB / 1.049 GB, free: 52.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.6838, allocations: 215.7 kB / 1.049 GB, free: 52.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.6851, allocations: 1.502 MB / 1.051 GB, free: 51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.6855, allocations: 209.5 kB / 1.051 GB, free: 50.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.182e-05/0.6856, allocations: 46 kB / 1.051 GB, free: 50.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.6856, allocations: 4 kB / 1.051 GB, free: 50.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.6857, allocations: 30.56 kB / 1.051 GB, free: 50.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.6857, allocations: 0 / 1.051 GB, free: 50.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0005379/0.6862, allocations: 274.5 kB / 1.051 GB, free: 50.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.6862, allocations: 52.69 kB / 1.051 GB, free: 50.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.6864, allocations: 204.5 kB / 1.051 GB, free: 50.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.6864, allocations: 25.7 kB / 1.051 GB, free: 50.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.6865, allocations: 180 kB / 1.052 GB, free: 50.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.6866, allocations: 28.19 kB / 1.052 GB, free: 50.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.6866, allocations: 0 / 1.052 GB, free: 50.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.6866, allocations: 331.6 kB / 1.052 GB, free: 49.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.495e-05/0.6867, allocations: 52.17 kB / 1.052 GB, free: 49.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.6868, allocations: 107.7 kB / 1.052 GB, free: 49.76 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.6871, allocations: 179 kB / 1.052 GB, free: 49.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6871, allocations: 0 / 1.052 GB, free: 49.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003336/0.6874, allocations: 217.5 kB / 1.052 GB, free: 49.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.6874, allocations: 15.34 kB / 1.052 GB, free: 49.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6875, allocations: 1.125 kB / 1.052 GB, free: 49.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.6876, allocations: 24.55 kB / 1.052 GB, free: 49.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.6878, allocations: 38.75 kB / 1.052 GB, free: 49.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007767/0.6885, allocations: 1.328 MB / 1.054 GB, free: 48.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.6887, allocations: 17.58 kB / 1.054 GB, free: 48.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.6887, allocations: 9.688 kB / 1.054 GB, free: 48.15 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.6888, allocations: 146.4 kB / 1.054 GB, free: 48.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.6889, allocations: 23.59 kB / 1.054 GB, free: 48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.6889, allocations: 21.64 kB / 1.054 GB, free: 47.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6889, allocations: 1.031 kB / 1.054 GB, free: 47.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6889, allocations: 0.8125 kB / 1.054 GB, free: 47.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6889, allocations: 2.875 kB / 1.054 GB, free: 47.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.6895, allocations: 492.1 kB / 1.054 GB, free: 47.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6895, allocations: 0 / 1.054 GB, free: 47.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.774e-05/0.6896, allocations: 17.41 kB / 1.054 GB, free: 47.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.463e-05/0.6896, allocations: 23.09 kB / 1.054 GB, free: 47.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.6897, allocations: 0.9375 kB / 1.054 GB, free: 47.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006354/0.6903, allocations: 1.33 MB / 1.056 GB, free: 46.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.6903, allocations: 480 / 1.056 GB, free: 46.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.6906, allocations: 241.4 kB / 1.056 GB, free: 46.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.6906, allocations: 104.4 kB / 1.056 GB, free: 45.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.6907, allocations: 1.094 kB / 1.056 GB, free: 45.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.6908, allocations: 9.516 kB / 1.056 GB, free: 45.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.6908, allocations: 4.672 kB / 1.056 GB, free: 45.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.6908, allocations: 12.88 kB / 1.056 GB, free: 45.97 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001005/0.691, allocations: 154.2 kB / 1.056 GB, free: 45.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.691, allocations: 0 / 1.056 GB, free: 45.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003074/0.6913, allocations: 55.19 kB / 1.056 GB, free: 45.85 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.62e-05/0.6914, allocations: 101.1 kB / 1.056 GB, free: 45.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004116/0.6918, allocations: 236.5 kB / 1.057 GB, free: 45.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6918, allocations: 3.688 kB / 1.057 GB, free: 45.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.692, allocations: 161.4 kB / 1.057 GB, free: 45.49 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.6923, allocations: 32.47 kB / 1.057 GB, free: 45.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005916/0.6929, allocations: 0.5019 MB / 1.057 GB, free: 45.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.6931, allocations: 0.76 MB / 1.058 GB, free: 44.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.6932, allocations: 25.03 kB / 1.058 GB, free: 44.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.6933, allocations: 15.28 kB / 1.058 GB, free: 44.42 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6933, allocations: 0 / 1.058 GB, free: 44.42 MB / 0.698 GB Notification: Performance of Templates: time 0.004784/0.6981, allocations: 1.811 MB / 1.06 GB, free: 44.3 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)