Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 297.4 MB / 312.6 MB, free: 2.93 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.0009951/0.0009952, allocations: 196.7 kB / 382.3 MB, free: 14.81 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.581/1.581, allocations: 225.7 MB / 0.6617 GB, free: 7.227 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.0008263/0.0008264, allocations: 96.38 kB / 0.7789 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000548/0.0005481, allocations: 8 kB / 0.9058 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6264/0.627, allocations: 119.2 MB / 1.022 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001312/0.6283, allocations: 0.9503 MB / 1.023 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.6301, allocations: 2.002 MB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.444e-05/0.6301, allocations: 0 / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.37e-05/0.6302, allocations: 1.562 kB / 1.025 GB, free: 55.93 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function ‘Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.0005113/0.6307, allocations: 157 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.846e-05/0.6308, allocations: 33.52 kB / 1.025 GB, free: 55.84 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.321e-05/0.6308, allocations: 14.3 kB / 1.025 GB, free: 55.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.6309, allocations: 7.891 kB / 1.025 GB, free: 55.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.6309, allocations: 9.328 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.6313, allocations: 12.91 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.6314, allocations: 2 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.6317, allocations: 216.9 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.6317, allocations: 2.906 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.6317, allocations: 38.2 kB / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.6321, allocations: 208.1 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6321, allocations: 0 / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6321, allocations: 1.281 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.6321, allocations: 0 / 1.026 GB, free: 55.66 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002856/0.6324, allocations: 373.8 kB / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.6324, allocations: 7.094 kB / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.6325, allocations: 81.19 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.833e-05/0.6326, allocations: 247.6 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.6326, allocations: 160.5 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.6326, allocations: 150.9 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.021e-05/0.6327, allocations: 105.1 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.6327, allocations: 76.84 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.6327, allocations: 156.3 kB / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.6328, allocations: 158.3 kB / 1.027 GB, free: 54.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.6328, allocations: 152 kB / 1.027 GB, free: 53.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.633, allocations: 441.9 kB / 1.028 GB, free: 53.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.93e-05/0.633, allocations: 174.8 kB / 1.028 GB, free: 53.33 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.633, allocations: 83.3 kB / 1.028 GB, free: 53.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.6331, allocations: 75.28 kB / 1.028 GB, free: 53.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.6331, allocations: 111.6 kB / 1.028 GB, free: 53.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.6331, allocations: 0.5312 kB / 1.028 GB, free: 53.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.195e-05/0.6332, allocations: 36.56 kB / 1.028 GB, free: 53.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.6332, allocations: 205.2 kB / 1.029 GB, free: 52.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.6333, allocations: 101.4 kB / 1.029 GB, free: 52.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.6333, allocations: 25.7 kB / 1.029 GB, free: 52.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.6334, allocations: 82.94 kB / 1.029 GB, free: 52.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-06/0.6334, allocations: 0 / 1.029 GB, free: 52.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-07/0.6334, allocations: 0.625 kB / 1.029 GB, free: 52.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.6334, allocations: 317.6 kB / 1.029 GB, free: 52.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.306e-06/0.6334, allocations: 0 / 1.029 GB, free: 52.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.756e-05/0.6335, allocations: 20.23 kB / 1.029 GB, free: 52.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.328e-05/0.6335, allocations: 77.45 kB / 1.029 GB, free: 52.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.6335, allocations: 75.28 kB / 1.029 GB, free: 52.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.648e-05/0.6335, allocations: 38.73 kB / 1.029 GB, free: 52.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6336, allocations: 80.19 kB / 1.029 GB, free: 51.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.6336, allocations: 77.88 kB / 1.029 GB, free: 51.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/0.6336, allocations: 153.2 kB / 1.03 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.468e-05/0.6336, allocations: 83.95 kB / 1.03 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/0.6337, allocations: 159.3 kB / 1.03 GB, free: 51.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.6338, allocations: 84.2 kB / 1.03 GB, free: 51.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.6338, allocations: 78.83 kB / 1.03 GB, free: 51.37 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.464e-05/0.6339, allocations: 262.8 kB / 1.03 GB, free: 51.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.634, allocations: 107 kB / 1.03 GB, free: 51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.634, allocations: 118.8 kB / 1.03 GB, free: 50.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-05/0.634, allocations: 179.9 kB / 1.031 GB, free: 50.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.939e-05/0.6341, allocations: 182.1 kB / 1.031 GB, free: 50.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.719e-05/0.6341, allocations: 181 kB / 1.031 GB, free: 50.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.6343, allocations: 402.7 kB / 1.031 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/0.6343, allocations: 108.9 kB / 1.031 GB, free: 49.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.6343, allocations: 109.1 kB / 1.031 GB, free: 49.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.75e-05/0.6343, allocations: 180.9 kB / 1.032 GB, free: 49.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.6344, allocations: 182.2 kB / 1.032 GB, free: 49.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-05/0.6344, allocations: 182.2 kB / 1.032 GB, free: 49.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.64e-05/0.6344, allocations: 178.4 kB / 1.032 GB, free: 48.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.02e-05/0.6345, allocations: 314.4 kB / 1.032 GB, free: 48.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.6345, allocations: 192.2 kB / 1.033 GB, free: 48.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.6346, allocations: 183.3 kB / 1.033 GB, free: 48.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.6347, allocations: 107.2 kB / 1.033 GB, free: 48.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.6347, allocations: 176.9 kB / 1.033 GB, free: 47.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.6348, allocations: 108.9 kB / 1.033 GB, free: 47.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.46e-05/0.6348, allocations: 80.59 kB / 1.033 GB, free: 47.74 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6348, allocations: 0 / 1.033 GB, free: 47.74 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004004/0.6352, allocations: 81.11 kB / 1.033 GB, free: 47.71 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007522/0.636, allocations: 451.2 kB / 1.034 GB, free: 47.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.77e-05/0.636, allocations: 5.031 kB / 1.034 GB, free: 47.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.636, allocations: 1.031 kB / 1.034 GB, free: 47.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.636, allocations: 0 / 1.034 GB, free: 47.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.6363, allocations: 0.5312 MB / 1.034 GB, free: 46.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.6365, allocations: 164.5 kB / 1.034 GB, free: 46.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.6367, allocations: 0.6768 MB / 1.035 GB, free: 46.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.6368, allocations: 3.594 kB / 1.035 GB, free: 46.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.6368, allocations: 13.67 kB / 1.035 GB, free: 46.06 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.6368, allocations: 0 / 1.035 GB, free: 46.06 MB / 0.698 GB Notification: Performance of Templates: time 0.004284/0.6411, allocations: 2.048 MB / 1.037 GB, free: 45.83 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)