Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.843/1.843, allocations: 291.7 MB / 306.8 MB, free: 7.676 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.001391/0.001391, allocations: 188.5 kB / 375.4 MB, free: 5.078 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.459/1.459, 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.0007892/0.0007893, allocations: 100.6 kB / 0.7699 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 8 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7284/0.7288, allocations: 118.1 MB / 1.011 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004013/0.7329, allocations: 2.795 MB / 1.014 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002159/0.7351, allocations: 1.271 MB / 1.015 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.7352, allocations: 7.344 kB / 1.015 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.7354, allocations: 36.3 kB / 1.015 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.7358, allocations: 124.6 kB / 1.015 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.7361, allocations: 107 kB / 1.015 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.7365, allocations: 374.4 kB / 1.015 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/0.7369, allocations: 244.3 kB / 1.016 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.7371, allocations: 113.5 kB / 1.016 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.7373, allocations: 144.5 kB / 1.016 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.7374, allocations: 10.84 kB / 1.016 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.7376, allocations: 83.34 kB / 1.016 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.371e-05/0.7377, allocations: 71.91 kB / 1.016 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.7377, allocations: 66.2 kB / 1.016 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.738, allocations: 262.8 kB / 1.016 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.738, allocations: 0 / 1.016 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/0.738, allocations: 0 / 1.016 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.738, allocations: 0 / 1.016 GB, free: 57.09 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007396/0.7388, allocations: 0.5007 MB / 1.017 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.7388, allocations: 11.38 kB / 1.017 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005008/0.7393, allocations: 83.56 kB / 1.017 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.7396, allocations: 255.7 kB / 1.017 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.7396, allocations: 15.34 kB / 1.017 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.7397, allocations: 22.89 kB / 1.017 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.7401, allocations: 319.5 kB / 1.018 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.7402, allocations: 3.188 kB / 1.018 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.7402, allocations: 10.25 kB / 1.018 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/0.7402, allocations: 12.97 kB / 1.018 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.7406, allocations: 213.7 kB / 1.018 GB, free: 56.33 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.742, allocations: 1.502 MB / 1.019 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.7424, allocations: 206.1 kB / 1.019 GB, free: 55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.7426, allocations: 50.98 kB / 1.02 GB, free: 55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.7426, allocations: 0 / 1.02 GB, free: 55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.7426, allocations: 38.38 kB / 1.02 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.7426, allocations: 5.344 kB / 1.02 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0006161/0.7432, allocations: 263 kB / 1.02 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.7433, allocations: 57.36 kB / 1.02 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.7435, allocations: 203.6 kB / 1.02 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.7435, allocations: 29.08 kB / 1.02 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.7436, allocations: 177.4 kB / 1.02 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.7436, allocations: 34.56 kB / 1.02 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.7436, allocations: 0 / 1.02 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.7437, allocations: 328.5 kB / 1.021 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.7438, allocations: 52.25 kB / 1.021 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.744, allocations: 111.2 kB / 1.021 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.7442, allocations: 170.5 kB / 1.021 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.7442, allocations: 3.75 kB / 1.021 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004077/0.7447, allocations: 218 kB / 1.021 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.7447, allocations: 8.719 kB / 1.021 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7447, allocations: 2.688 kB / 1.021 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.7449, allocations: 26 kB / 1.021 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.7451, allocations: 32.97 kB / 1.021 GB, free: 53.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00092/0.746, allocations: 1.323 MB / 1.023 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.7461, allocations: 25.5 kB / 1.023 GB, free: 52.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.7462, allocations: 10.7 kB / 1.023 GB, free: 52.63 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.7463, allocations: 147.2 kB / 1.023 GB, free: 52.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.7463, allocations: 22.16 kB / 1.023 GB, free: 52.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.7464, allocations: 16.72 kB / 1.023 GB, free: 52.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.7464, allocations: 2.938 kB / 1.023 GB, free: 52.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7464, allocations: 3.141 kB / 1.023 GB, free: 52.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7464, allocations: 0.5156 kB / 1.023 GB, free: 52.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/0.747, allocations: 0.4892 MB / 1.023 GB, free: 52.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.747, allocations: 0 / 1.023 GB, free: 52.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/0.747, allocations: 11.11 kB / 1.023 GB, free: 52.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.167e-05/0.7471, allocations: 24.34 kB / 1.023 GB, free: 52.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.7471, allocations: 3.938 kB / 1.023 GB, free: 52.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000668/0.7478, allocations: 1.323 MB / 1.025 GB, free: 50.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7478, allocations: 0 / 1.025 GB, free: 50.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.7481, allocations: 244 kB / 1.025 GB, free: 50.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.7482, allocations: 101.9 kB / 1.025 GB, free: 50.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.7482, allocations: 0.8438 kB / 1.025 GB, free: 50.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.7483, allocations: 5.281 kB / 1.025 GB, free: 50.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.7484, allocations: 9.828 kB / 1.025 GB, free: 50.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.7484, allocations: 3.031 kB / 1.025 GB, free: 50.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001062/0.7485, allocations: 149.5 kB / 1.025 GB, free: 50.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7485, allocations: 0 / 1.025 GB, free: 50.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003221/0.7488, allocations: 58.03 kB / 1.025 GB, free: 50.56 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000127/0.7489, allocations: 105.2 kB / 1.025 GB, free: 50.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.7494, allocations: 240.2 kB / 1.025 GB, free: 50.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.7494, allocations: 0 / 1.025 GB, free: 50.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.7496, allocations: 163.4 kB / 1.026 GB, free: 50.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.75, allocations: 41.62 kB / 1.026 GB, free: 50.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.7506, allocations: 486 kB / 1.026 GB, free: 49.94 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.7509, allocations: 0.759 MB / 1.027 GB, free: 49.24 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00011/0.751, allocations: 28.95 kB / 1.027 GB, free: 49.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.751, allocations: 14.12 kB / 1.027 GB, free: 49.23 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.7511, allocations: 1.094 kB / 1.027 GB, free: 49.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.004976/0.756, allocations: 1.765 MB / 1.029 GB, free: 49.16 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)