Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.599/1.599, allocations: 291.7 MB / 306.8 MB, free: 7.633 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.001181/0.001181, allocations: 201.4 kB / 375.4 MB, free: 5.074 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.402/1.402, allocations: 225.7 MB / 0.6538 GB, free: 13.54 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.001108/0.001108, allocations: 97.3 kB / 0.7699 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004089, allocations: 11.98 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7723/0.7727, allocations: 118.1 MB / 1.011 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001699/0.7745, allocations: 0.9506 MB / 1.012 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.7768, allocations: 1.178 MB / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.7769, allocations: 0 / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.7769, allocations: 0.6875 kB / 1.013 GB, free: 57.27 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0007368/0.7776, allocations: 162.2 kB / 1.013 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.7778, allocations: 39.25 kB / 1.013 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.987e-05/0.7779, allocations: 7.703 kB / 1.013 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.451e-05/0.7779, allocations: 5.109 kB / 1.013 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.491e-05/0.778, allocations: 7.312 kB / 1.013 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.7782, allocations: 15.33 kB / 1.013 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.7782, allocations: 0 / 1.013 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.7786, allocations: 221.6 kB / 1.013 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.7787, allocations: 4.734 kB / 1.013 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.7787, allocations: 28.86 kB / 1.013 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.779, allocations: 134 kB / 1.014 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.779, allocations: 0 / 1.014 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/0.779, allocations: 0.5312 kB / 1.014 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.779, allocations: 1.438 kB / 1.014 GB, free: 57.18 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003928/0.7794, allocations: 377.8 kB / 1.014 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.7795, allocations: 13.06 kB / 1.014 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.7795, allocations: 79.72 kB / 1.014 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.7797, allocations: 248 kB / 1.014 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.7797, allocations: 154.9 kB / 1.014 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.7798, allocations: 150.9 kB / 1.015 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.962e-05/0.7798, allocations: 109.8 kB / 1.015 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.7798, allocations: 79.72 kB / 1.015 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.7799, allocations: 150.6 kB / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.7799, allocations: 152.7 kB / 1.015 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.351e-05/0.78, allocations: 151.9 kB / 1.015 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.7802, allocations: 457.8 kB / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.065e-05/0.7803, allocations: 166.7 kB / 1.016 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.7803, allocations: 83.08 kB / 1.016 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.7804, allocations: 76.44 kB / 1.016 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.7804, allocations: 114.7 kB / 1.016 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.7804, allocations: 0 / 1.016 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.241e-05/0.7805, allocations: 37.25 kB / 1.016 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.7806, allocations: 208.1 kB / 1.016 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.515e-05/0.7807, allocations: 92.8 kB / 1.016 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.7807, allocations: 34.7 kB / 1.016 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.7807, allocations: 80.14 kB / 1.016 GB, free: 54.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.7808, allocations: 0.625 kB / 1.016 GB, free: 54.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-07/0.7808, allocations: 0 / 1.016 GB, free: 54.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.7808, allocations: 318.5 kB / 1.017 GB, free: 53.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-06/0.7809, allocations: 0 / 1.017 GB, free: 53.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.952e-05/0.7809, allocations: 17.42 kB / 1.017 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.968e-05/0.7809, allocations: 77.19 kB / 1.017 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.7809, allocations: 75.28 kB / 1.017 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.479e-05/0.781, allocations: 43.42 kB / 1.017 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.781, allocations: 79.41 kB / 1.017 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.7811, allocations: 80.94 kB / 1.017 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.194e-05/0.7811, allocations: 151.1 kB / 1.017 GB, free: 53.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.581e-05/0.7811, allocations: 80.58 kB / 1.017 GB, free: 53.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-05/0.7812, allocations: 156.4 kB / 1.017 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.7813, allocations: 87.64 kB / 1.018 GB, free: 52.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.7814, allocations: 79.3 kB / 1.018 GB, free: 52.91 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.7814, allocations: 263 kB / 1.018 GB, free: 52.65 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.7815, allocations: 112.5 kB / 1.018 GB, free: 52.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.7815, allocations: 111 kB / 1.018 GB, free: 52.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/0.7816, allocations: 178.3 kB / 1.018 GB, free: 52.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-05/0.7816, allocations: 183.1 kB / 1.018 GB, free: 52.06 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.163e-05/0.7816, allocations: 177.9 kB / 1.019 GB, free: 51.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.7818, allocations: 409.1 kB / 1.019 GB, free: 51.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.7818, allocations: 101 kB / 1.019 GB, free: 51.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.7819, allocations: 113 kB / 1.019 GB, free: 51.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-05/0.7819, allocations: 183.7 kB / 1.019 GB, free: 51.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.7819, allocations: 181.2 kB / 1.02 GB, free: 50.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.187e-05/0.782, allocations: 186.9 kB / 1.02 GB, free: 50.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.137e-05/0.782, allocations: 176.3 kB / 1.02 GB, free: 50.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.186e-05/0.7821, allocations: 308 kB / 1.02 GB, free: 50.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.7822, allocations: 190.9 kB / 1.02 GB, free: 49.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.7822, allocations: 186.6 kB / 1.021 GB, free: 49.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.7823, allocations: 104 kB / 1.021 GB, free: 49.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.7824, allocations: 180.5 kB / 1.021 GB, free: 49.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.7824, allocations: 110.7 kB / 1.021 GB, free: 49.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.354e-05/0.7824, allocations: 78.03 kB / 1.021 GB, free: 49.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7824, allocations: 0.6562 kB / 1.021 GB, free: 49.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003988/0.7828, allocations: 76.14 kB / 1.021 GB, free: 49.3 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 (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007886/0.7836, allocations: 436.9 kB / 1.022 GB, free: 49.11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.042e-05/0.7837, allocations: 8.156 kB / 1.022 GB, free: 49.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7837, allocations: 0 / 1.022 GB, free: 49.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.7837, allocations: 0 / 1.022 GB, free: 49.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.784, allocations: 0.5331 MB / 1.022 GB, free: 48.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.7843, allocations: 167.4 kB / 1.022 GB, free: 48.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.7844, allocations: 0.6738 MB / 1.023 GB, free: 47.71 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.394e-05/0.7844, allocations: 6.531 kB / 1.023 GB, free: 47.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.7844, allocations: 13.53 kB / 1.023 GB, free: 47.71 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7845, allocations: 1 kB / 1.023 GB, free: 47.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.004417/0.7889, allocations: 2.028 MB / 1.025 GB, free: 47.55 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)