Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 92.31 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 177.2 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.852/1.852, allocations: 292.7 MB / 0.5509 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005838/0.0005838, allocations: 13.53 kB / 0.675 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3621, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001817/0.364, allocations: 0.9547 MB / 0.7895 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.3666, allocations: 1.235 MB / 0.7907 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.207e-05/0.3667, allocations: 0 / 0.7907 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.3667, allocations: 0 / 0.7907 GB, free: 9.379 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.0007921/0.3675, allocations: 163.6 kB / 0.7908 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.3677, allocations: 38.5 kB / 0.7909 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.594e-05/0.3677, allocations: 8 kB / 0.7909 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.535e-05/0.3678, allocations: 0 / 0.7909 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.321e-05/0.3678, allocations: 11.94 kB / 0.7909 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.3681, allocations: 24.62 kB / 0.7909 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3681, allocations: 0 / 0.7909 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.3685, allocations: 235.7 kB / 0.7911 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.3685, allocations: 0 / 0.7911 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.3686, allocations: 37.62 kB / 0.7912 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.3689, allocations: 127.8 kB / 0.7913 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3689, allocations: 0 / 0.7913 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.107e-06/0.3689, allocations: 4 kB / 0.7913 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3689, allocations: 0 / 0.7913 GB, free: 8.738 MB / 0.6075 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.0005296/0.3695, allocations: 379.8 kB / 0.7917 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.3695, allocations: 12.03 kB / 0.7917 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.985e-05/0.3696, allocations: 76.22 kB / 0.7917 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.3698, allocations: 251.4 kB / 0.792 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.949e-05/0.3699, allocations: 150.9 kB / 0.7921 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/0.37, allocations: 158.9 kB / 0.7923 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.3701, allocations: 109.1 kB / 0.7924 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/0.3702, allocations: 79.28 kB / 0.7925 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.576e-05/0.3702, allocations: 150.6 kB / 0.7926 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.745e-05/0.3703, allocations: 150.6 kB / 0.7927 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.817e-05/0.3704, allocations: 158.5 kB / 0.7929 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.3708, allocations: 457.9 kB / 0.7933 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.679e-05/0.3709, allocations: 165.1 kB / 0.7935 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.3709, allocations: 80.14 kB / 0.7936 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.371, allocations: 75.33 kB / 0.7936 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.544e-05/0.3711, allocations: 121.7 kB / 0.7938 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.3711, allocations: 4 kB / 0.7938 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.629e-05/0.3712, allocations: 29.64 kB / 0.7938 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.3713, allocations: 207.8 kB / 0.794 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.3715, allocations: 97.84 kB / 0.7941 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3715, allocations: 29.7 kB / 0.7941 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.3715, allocations: 80.14 kB / 0.7942 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.3716, allocations: 0 / 0.7942 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.3716, allocations: 9.719 kB / 0.7942 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3717, allocations: 318.8 kB / 0.7945 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-06/0.3718, allocations: 0 / 0.7945 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.878e-05/0.3718, allocations: 22.56 kB / 0.7945 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.3719, allocations: 75.28 kB / 0.7946 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.201e-05/0.3719, allocations: 75.28 kB / 0.7947 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.122e-05/0.372, allocations: 37.58 kB / 0.7947 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.372, allocations: 83.28 kB / 0.7948 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/0.3721, allocations: 79.28 kB / 0.7949 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.483e-05/0.3722, allocations: 158.5 kB / 0.795 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.109e-05/0.3722, allocations: 79.28 kB / 0.7951 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.067e-05/0.3723, allocations: 158.5 kB / 0.7952 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.3725, allocations: 79.22 kB / 0.7953 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.3726, allocations: 75.28 kB / 0.7954 GB, free: 4.289 MB / 0.6075 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 0.0001651/0.3727, allocations: 267.7 kB / 0.7956 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.3728, allocations: 116.9 kB / 0.7957 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.825e-05/0.3729, allocations: 108.1 kB / 0.7959 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.397e-05/0.373, allocations: 176.3 kB / 0.796 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.461e-05/0.3731, allocations: 180.2 kB / 0.7962 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.176e-05/0.3732, allocations: 184.3 kB / 0.7964 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.3734, allocations: 405.2 kB / 0.7968 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.286e-05/0.3735, allocations: 109 kB / 0.7969 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.188e-05/0.3736, allocations: 104.9 kB / 0.797 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.703e-05/0.3736, allocations: 184.2 kB / 0.7971 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.584e-05/0.3737, allocations: 180.2 kB / 0.7973 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001189/0.3739, allocations: 192.2 kB / 0.7975 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.964e-05/0.374, allocations: 176.6 kB / 0.7977 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.3741, allocations: 303.8 kB / 0.7979 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.3743, allocations: 194 kB / 0.7981 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.3744, allocations: 188.2 kB / 0.7983 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.3745, allocations: 105 kB / 0.7984 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.517e-05/0.3746, allocations: 184.2 kB / 0.7986 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.3747, allocations: 101 kB / 0.7987 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.891e-05/0.3747, allocations: 83.28 kB / 0.7988 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3747, allocations: 0 / 0.7988 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004122/0.3752, allocations: 75.97 kB / 0.7988 GB, free: 0.5234 MB / 0.6075 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.0009492/0.3761, allocations: 398.2 kB / 0.7992 GB, free: 176 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.06e-05/0.3762, allocations: 4 kB / 0.7992 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3762, allocations: 3.938 kB / 0.7992 GB, free: 168 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.947e-06/0.3762, allocations: 3.938 kB / 0.7992 GB, free: 164 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.3767, allocations: 0.5329 MB / 0.7997 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.377, allocations: 189.6 kB / 0.7999 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.3774, allocations: 0.6731 MB / 0.8006 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.3774, allocations: 11.44 kB / 0.8006 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of SimCode: time 1.9e-07/0.3774, allocations: 0 / 0.8006 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.004619/0.382, allocations: 2.005 MB / 0.8026 GB, free: 12.7 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoadCalcHelperMain.o OMCppBuildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoadCalcHelperMain.o] Error 1